Auth failures
GET {{base_url}}/some_api_url
This is not a real request. Just a placeholder request to show typical authentication failures. There are 4 types of authentication failures
- No API keys
- API key not found
- API key and secret does not match
- Cannot access org with given API
Sample responses are saved to this request. Please refer to saved responses to see how these responses will look like.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api-key | string | ||
api-secret | string |
RESPONSES
status: OK
"\u003c!DOCTYPE html\u003e\n\u003chtml xmlns=\"http://www.w3.org/1999/xhtml\"\n xmlns:fb=\"http://ogp.me/ns/fb#\"\u003e\n \u003chead\u003e\n \u003ctitle\u003eCashflowy\u003c/title\u003e\n \u003c!-- Google Tag Manager --\u003e\n \u003cscript\u003e(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'\u0026l='+l:'';j.async=true;j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-5P36JFL');\u003c/script\u003e\n \u003c!-- End Google Tag Manager --\u003e\n \u003cmeta name=\"description\" content=\"Cashflowy\"/\u003e\n \u003cmeta property=\"og:title\" content=\"Cashflowy\" /\u003e\n \u003cmeta property=\"og:description\" content=\"Cashflowy\" /\u003e\n \u003cmeta name=\"twitter:card\" content=\"summary_large_image\"/\u003e\n \u003cmeta name=\"twitter:site\" content=\"@highlyreco\"/\u003e\n \u003cmeta name=\"twitter:title\" content=\"Cashflowy\"/\u003e\n \u003cmeta name=\"twitter:description\" content=\"Cashflowy\"/\u003e\n \u003cmeta name=\"robots\" content=\"noindex, nofollow\"\u003e\n \u003cmeta qqname=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\"\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1\"\u003e\n \u003cmeta name=\"apple-mobile-web-app-title\" content=\"Cashflowy\"\u003e\n \u003clink rel=\"apple-touch-icon\" href=\"images/apple-touch-icon.png\"\u003e\n \u003cmeta name=\"application-name\" content=\"Cashflowy\"\u003e\n \u003cmeta name=\"msapplication-TileColor\" content=\"#da532c\"\u003e\n \u003cmeta name=\"msapplication-TileImage\" content=\"/icons/mstile-144x144.png\"\u003e\n \u003cmeta name=\"msapplication-config\" content=\"/icons/browserconfig.xml\"\u003e\n \u003cmeta name=\"theme-color\" content=\"#ffffff\"\u003e\n \u003c!-- \u003cmeta name=\"twitter:creator\" content=\"@nivi\"\u003e --\u003e\n \u003c!-- Viewport mobile tag for sensible mobile support --\u003e\n \u003c!-- \n Stylesheets and Preprocessors\n ==============================\n\n You can always bring in CSS files manually with `\u003clink\u003e` tags, or asynchronously\n using a solution like AMD (RequireJS). Or, if you like, you can take advantage \n of Sails' conventional asset pipeline (boilerplate Gruntfile).\n\n By default, stylesheets from your `assets/styles` folder are included\n here automatically (between STYLES and STYLES END). Both CSS (.css) and LESS (.less)\n are supported. In production, your styles will be minified and concatenated into\n a single file.\n \n To customize any part of the built-in behavior, just edit `tasks/pipeline.js`.\n For example, here are a few things you could do:\n \n + Change the order of your CSS files\n + Import stylesheets from other directories\n + Use a different or additional preprocessor, like SASS, SCSS or Stylus\n --\u003e\n \u003c!-- \u003clink rel=\"stylesheet\" href=\"/semantic/semantic.min.css\"\u003e --\u003e\n \u003clink rel=\"stylesheet\" href=\"/dependencies/sematic/semantic.min.css\"\u003e\n \u003c!--STYLES--\u003e\n \u003clink rel=\"stylesheet\" href=\"/dependencies/sematic/semantic.min.css\"\u003e\n \u003clink rel=\"stylesheet\" href=\"/styles/importer.css\"\u003e\n \u003c!--STYLES END--\u003e\n \u003cstyle\u003e\n .hidden {\n display: none !important;\n }\n html{\n overflow-y: scroll;\n overflow-x: hidden;\n }\n .mobile-slider {\n margin-bottom: 14px;\n }\n @media only screen and (max-width: 700px) {\n .mobile-slider {\n min-width: 100%;\n display: flex;\n overflow-x: auto;\n }\n .mobile-slider::-webkit-scrollbar {\n display: none;\n }\n }\n .first.segment {\n margin-top: 0px;\n }\n \u003c/style\u003e\n \u003c/head\u003e\n \u003cbody \u003e\n \u003c!-- Google Tag Manager (noscript) --\u003e\n \u003c!-- \n \u003cnoscript\u003e\u003ciframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-547P6N\"\n height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"\u003e\u003c/iframe\u003e\u003c/noscript\u003e\n --\u003e\n \u003c!-- End Google Tag Manager (noscript) --\u003e\n \u003c!--\n Client-side Templates\n ========================\n\n HTML templates are important prerequisites of modern, rich client applications.\n To work their magic, frameworks like Backbone, Angular, Ember, and Knockout require\n that you load these templates client-side.\n\n By default, your Gruntfile is configured to automatically load and precompile\n client-side JST templates in your `assets/templates` folder, then\n include them here automatically (between TEMPLATES and TEMPLATES END).\n \n To customize this behavior to fit your needs, just edit `tasks/pipeline.js`.\n For example, here are a few things you could do:\n\n + Import templates from other directories\n + Use a different template engine (handlebars, jade, dust, etc.)\n + Internationalize your client-side templates using a server-side\n stringfile before they're served.\n --\u003e\n \u003c!--TEMPLATES--\u003e\n \u003c!--TEMPLATES END--\u003e\n \u003c!--\n\n Client-side Javascript\n ========================\n\n You can always bring in JS files manually with `script` tags, or asynchronously\n on the client using a solution like AMD (RequireJS). Or, if you like, you can \n take advantage of Sails' conventional asset pipeline (boilerplate Gruntfile).\n\n By default, files in your `assets/js` folder are included here\n automatically (between SCRIPTS and SCRIPTS END). Both JavaScript (.js) and\n CoffeeScript (.coffee) are supported. In production, your scripts will be minified\n and concatenated into a single file.\n \n To customize any part of the built-in behavior, just edit `tasks/pipeline.js`.\n For example, here are a few things you could do:\n \n + Change the order of your scripts\n + Import scripts from other directories\n + Use a different preprocessor, like TypeScript\n\n --\u003e\n \u003cscript src=\"/dependencies/sails.io.js\"\u003e\u003c/script\u003e\n \u003cscript src=\"/dependencies/jquery.min.js\"\u003e\u003c/script\u003e\n \u003cscript src=\"/dependencies/sematic/semantic.min.js\"\u003e\u003c/script\u003e\n \u003cscript src=\"/dependencies/chart.min.js\"\u003e\u003c/script\u003e\n \u003cscript src=\"https://cdn.jsdelivr.net/npm/moment@2.27.0\"\u003e\u003c/script\u003e\n \u003cscript src=\"https://cdn.jsdelivr.net/npm/chartjs-adapter-moment@1.0.0\"\u003e\u003c/script\u003e\n \u003cscript\u003e\nvar updateUrlParameter = function (uri, key, value) {\n\t\t// remove the hash part before operating on the uri\n\t\tvar i = uri.indexOf('#');\n\t\tvar hash = i === -1 ? '' : uri.substr(i);\n\t\t\t uri = i === -1 ? uri : uri.substr(0, i);\n\t\n\t\tvar re = new RegExp(\"([?\u0026])\" + key + \"=.*?(\u0026|$)\", \"i\");\n\t\tvar separator = uri.indexOf('?') !== -1 ? \"\u0026\" : \"?\";\n\t\tif (uri.match(re)) {\n\t\t\turi = uri.replace(re, '$1' + key + \"=\" + value + '$2');\n\t\t} else {\n\t\t\turi = uri + separator + key + \"=\" + value;\n\t\t}\n\t\treturn uri + hash; // finally append the hash as well\n\t}\n\u003c/script\u003e\n \u003c!-- include partials/quora_style_login --\u003e\n \u003c!-- incase I want to implement left side bar --\u003e\n \u003c!-- \u003cstyle type=\"text/css\"\u003e\n .sidebar.visible + .pusher {\n width: calc(100% - 260px);\n }\n \u003c/style\u003e\u003cdiv class=\"ui vertical inverted left visible sidebar menu\" style=\"visibility: ;\"\u003e\u003cdiv class='header item'\u003e\n asdfsdf\n \u003c/div\u003e\u003ca class=\"item\"\u003e\u003ci class=\"home icon\"\u003e\u003c/i\u003e\n Home\u003c/a\u003e\n \u003c/div\u003e --\u003e\n \u003c!-- Main content starts here --\u003e\n \u003cdiv class=\"ui container\"\u003e\n \u003c!-- Show some status to the user --\u003e\n \u003cdiv id=\"status_message\"\u003e\u003c/div\u003e\n \u003c!-- Top menu --\u003e\n \n \u003c/div\u003e\n \u003cdiv class=\"pusher\"\u003e\n \u003cdiv class=\"ui grid\"\u003e\n \u003c!-- Definition of the nav bar when seen on a computer --\u003e\n \u003cdiv class=\"ui sixteen wide column tablet computer only\"\u003e\n \u003cdiv class=\"ui secondary pointing large menu\" id=\"threads\" \u003e\n \u003c!-- \u003cdiv class=\"ui container\" \u003e --\u003e\n \u003ca class=\"item home header \" href=\"/\"\u003e\n\t\t\t\tCashflowy\n\t\t\t\u003c/a\u003e\n \u003c!-- if admin --\u003e\n \u003cdiv class=\"right menu\"\u003e\n \u003c!-- \u003ca class=\"item\" href=\"/privacy\"\u003ePrivacy\u003c/a\u003e --\u003e\n \u003c!-- \u003ca class=\"item\" href=\"/terms\"\u003eTerms\u003c/a\u003e --\u003e\n \u003ca class=\"item\" href=\"/login\"\u003e\n\t\t\t\t\t\t\n\t\t\t\t\t\tLogin\n\t\t\t\t\t\u003c/a\u003e\n \u003c!-- \u003ca class=\"item\" href=\"/signup\"\u003e\n\t\t\t\t\t\tSignup\n\t\t\t\t\t\u003c/a\u003e --\u003e\n\t\t\t\t\n\t\t\t\n \u003c/div\u003e\n \u003c!-- end of right menu --\u003e\n \u003c!-- \u003c/div\u003e --\u003e\n\t\t\n \u003c/div\u003e\n \u003c!-- end of secondary pointing large menu --\u003e\n\t\n \u003c/div\u003e\n \u003c!-- End of definition of the nav bar when seen on a computer --\u003e\n \u003c!-- Definition of the nav bar when seen on a mobile --\u003e\n \u003cdiv class=\"ui sixteen wide column mobile only\"\u003e\n \u003cdiv class=\"ui secondary pointing large menu\" id=\"threads\" \u003e\n \u003cdiv class=\"ui container\" \u003e\n \u003c!-- --\u003e\n \u003ca class=\"item home header \" href=\"/\"\u003e\n\t\t\t\tCashflowy \n\t\t\t\u003c/a\u003e\n \u003cdiv class=\"right menu\"\u003e\n \u003ca class=\"item\" href=\"/login\"\u003e\n\t\t\t\t\t\t\n\t\t\t\t\t\tLogin\n\t\t\t\t\t\u003c/a\u003e\n \u003c/div\u003e\n \u003c!-- end of right menu --\u003e\n \u003c!-- \u003c/div\u003e --\u003e\n\t\t\n \u003c/div\u003e\n \u003c!-- end of secondary pointing large menu --\u003e\n\t\n \u003c/div\u003e\n \u003c/div\u003e\n \u003c!-- End of definition of the nav bar when seen on a mobile --\u003e\n \u003c/div\u003e\n \u003cscript type=\"text/javascript\"\u003e\n\tvar showToast=function(options){\n\t\t$('body').toast({\n\t\t\tclass:options.class,\n\t\t\ttitle: options.title,\n\t\t\tshowProgress: 'top',\n\t\t\tmessage: options.message,\n\t\t\tclassName: {\n\t\t\t\ttoast: 'ui message'\n\t\t\t}\n\t\t});\n\t}\n\t$(document).ready(function(){\n\t\tvar path = window.location.pathname;\n\t\t$('a.item[href=\"'+path+'\"]').addClass('active');\n\t\t$('.click-sidebar').click(function(){\n\t\t\t$('.ui.sidebar').sidebar('toggle');\n\t\t})\n\t\t$(\"[data-content]\").popup({variation:'wide'});\n\t\t$('.inline.dropdown').dropdown();\n\t});\n\u003c/script\u003e\n \u003cdiv class='ui container'\u003e\n \u003cdiv class='ui grid'\u003e\n \u003cdiv class='three wide tablet computer only column'\u003e\u003c/div\u003e\n \u003cdiv class='ten wide table ten wide computer sixteen wide mobile column'\u003e\n \u003cdiv class='ui segment'\u003e\n \u003ch1\u003eLogin\u003c/h1\u003e\n \u003cform action=\"/login?redirect=/org/25/job/create\" method=\"post\" class='ui form'\u003e\n \u003cdiv class=\"ui error message\"\u003e\n \u003cdiv class=\"header\"\u003ePlease correct error in form\u003c/div\u003e\n \u003cp\u003efalse\u003c/p\u003e\n \u003c/div\u003e\n \u003cdiv class=\"field\"\u003e\n \u003clabel for=\"email\"\u003eEmail address\u003c/label\u003e\n \u003cinput name=\"email\" type=\"text\" placeholder=\"enter your email here\" value=\"\"/\u003e\n \u003c/div\u003e\n \u003cdiv class=\"field\"\u003e\n \u003clabel\u003ePassword\u003c/label\u003e\n \u003cinput name=\"password\" type=\"password\" placeholder=\"enter your password here\"/\u003e\n \u003c/div\u003e\n \u003cinput type=\"submit\"/ class='ui teal button'\u003e\n\t\t\t\t\n \u003c/form\u003e\n \u003c/br\u003e\n \u003ca href=\"/forgot\"\u003eForgot your password?\u003c/a\u003e\n \u003c/div\u003e\n \u003cdiv class='ui segment'\u003e\n \u003cdiv class='g-sign-in-button'\u003e\n \u003cdiv class=content-wrapper onclick=\"window.location='/auth/google'\" \u003e\n \u003cdiv class='logo-wrapper'\u003e\n \u003cimg src='https://developers.google.com/identity/images/g-logo.png' \u003e\n\t\t\t\t\t\t\n \u003c/div\u003e\n \u003cspan class='text-container'\u003e\n \u003cspan\u003eSign in with Google\u003c/span\u003e\n \u003c/span\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003cdiv class='ui segment'\u003e\n \u003ch3\u003eNew here? Get 3 months GST Audit for free \u003c/h3\u003e\n \u003ca href=\"/getting_started\" class='ui button'\u003eGet Started For Free\u003c/a\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003cdiv class='three wide tablet computer only column'\u003e\u003c/div\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003cscript src=\"https://apis.google.com/js/platform.js\" async defer\u003e\u003c/script\u003e\n \u003cstyle\u003e\n\t*, *:before, *:after {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.g-sign-in-button {\n\t\tmargin: 10px;\n\t\tdisplay: inline-block;\n\t\twidth: 240px;\n\t\theight: 50px;\n\t\tbackground-color: #4285f4;\n\t\tcolor: #fff;\n\t\tborder-radius: 1px;\n\t\tbox-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);\n\t\ttransition: background-color .218s, border-color .218s, box-shadow .218s;\n\t}\n\n\t.g-sign-in-button:hover {\n\t\tcursor: pointer;\n\t\t-webkit-box-shadow: 0 0 3px 3px rgba(66, 133, 244, 0.3);\n\t\tbox-shadow: 0 0 3px 3px rgba(66, 133, 244, 0.3);\n\t}\n\n\t.g-sign-in-button:active {\n\t\tbackground-color: #3367D6;\n\t\ttransition: background-color 0.2s;\n\t}\n\n\t.g-sign-in-button .content-wrapper {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\tborder: 1px solid transparent;\n\t}\n\n\t.g-sign-in-button img {\n\t\twidth: 18px;\n\t\theight: 18px;\n\t}\n\n\t.g-sign-in-button .logo-wrapper {\n\t\tpadding: 15px;\n\t\tbackground: #fff;\n\t\twidth: 48px;\n\t\theight: 100%;\n\t\tborder-radius: 1px;\n\t\tdisplay: inline-block;\n\t}\n\n\t.g-sign-in-button .text-container {\n\t\tfont-family: Roboto,arial,sans-serif;\n\t\tfont-weight: 500;\n\t\tletter-spacing: .21px;\n\t\tfont-size: 16px;\n\t\tline-height: 48px;\n\t\tvertical-align: top;\n\t\tborder: none;\n\t\tdisplay: inline-block;\n\t\ttext-align: center;\n\t\twidth: 180px;\n\t}\n\n\u003c/style\u003e\n \u003cbr\u003e\n \u003cbr\u003e\n \u003cbr\u003e\n \u003cbr\u003e\n \u003cdiv class='ui container'\u003e\n \u003c!-- Want help? Reach out to us - alex@cashflowy.in --\u003e\n \u003c/div\u003e\n \u003cbr\u003e\n \n \u003c/div\u003e\n\u003c/body\u003e\n\u003c/html\u003e"