Created
June 10, 2019 11:35
-
-
Save renanmav/d6612d258e9fa1a0d9a4568af5a92da3 to your computer and use it in GitHub Desktop.
Insomnia Workspace for REST API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"_type":"export","__export_format":4,"__export_date":"2019-06-10T11:34:24.685Z","__export_source":"insomnia.desktop.app:v6.5.4","resources":[{"_id":"req_8e8e37ae31d045bb9600645960f93ac3","authentication":{"token":"{{ token }}","type":"bearer"},"body":{},"created":1559940843522,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931917117,"method":"GET","modified":1559968350930,"name":"Index","parameters":[],"parentId":"fld_af239f87e9704576ab1d29c080642c1e","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/orders","_type":"request"},{"_id":"fld_af239f87e9704576ab1d29c080642c1e","created":1559940843510,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1559931905547,"modified":1559940853195,"name":"Orders","parentId":"wrk_e411ae0ef00e4701990cde1b7fb9d964","_type":"request_group"},{"_id":"wrk_e411ae0ef00e4701990cde1b7fb9d964","created":1559854060515,"description":"","modified":1559854060515,"name":"Don Juan Pizzaria","parentId":null,"_type":"workspace"},{"_id":"req_a95dd16be8c34f82bc3371d94fa01412","authentication":{"token":"{{ token }}","type":"bearer"},"body":{},"created":1559941131075,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931917104.5,"method":"GET","modified":1559966972174,"name":"Index By User","parameters":[],"parentId":"fld_af239f87e9704576ab1d29c080642c1e","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/users/orders","_type":"request"},{"_id":"req_a632c969981f4ed085a7f4883b5cd6d7","authentication":{"token":"{{ token }}","type":"bearer"},"body":{},"created":1559940843528,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931917092,"method":"GET","modified":1559968399075,"name":"Show","parameters":[],"parentId":"fld_af239f87e9704576ab1d29c080642c1e","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/orders/2","_type":"request"},{"_id":"req_f5f1ee648f644193b44a50fe43e89d23","authentication":{"token":"{{ token_client }}","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n\t\"total_price\": 30,\n\t\"cep\": \"77062-040\",\n\t\"street\": \"12\",\n\t\"number\": \"1\",\n\t\"district\": \"Aureny III\",\n\t\"sizes_id\": [1]\n}"},"created":1559940843526,"description":"","headers":[{"id":"pair_45bfc49fed1f43ba84828a17b7d66647","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1559931917067,"method":"POST","modified":1559968327884,"name":"Create","parameters":[],"parentId":"fld_af239f87e9704576ab1d29c080642c1e","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/orders","_type":"request"},{"_id":"req_1572f8148d5f482aa2fe21d15f04a019","authentication":{"token":"{{ token }}","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n\t\"street\": \"2\"\n}"},"created":1559940843530,"description":"","headers":[{"id":"pair_45bfc49fed1f43ba84828a17b7d66647","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1559931917017,"method":"PUT","modified":1559967548862,"name":"Update","parameters":[],"parentId":"fld_af239f87e9704576ab1d29c080642c1e","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/orders/1","_type":"request"},{"_id":"req_3fa26257254f4cb882f6884b0a47ac3f","authentication":{"token":"{{ token }}","type":"bearer"},"body":{},"created":1559940843531,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931916967,"method":"DELETE","modified":1559967659501,"name":"Destroy","parameters":[],"parentId":"fld_af239f87e9704576ab1d29c080642c1e","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/orders/1","_type":"request"},{"_id":"req_49ae69be57184a2f8e41361829d9eaf4","authentication":{},"body":{},"created":1559937254893,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931917117,"method":"GET","modified":1559968190825,"name":"Index","parameters":[],"parentId":"fld_14398ff8b2c54a7993cd0ba296880890","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/products/1/sizes","_type":"request"},{"_id":"fld_14398ff8b2c54a7993cd0ba296880890","created":1559937254883,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1559931905497,"modified":1559937265898,"name":"Sizes","parentId":"wrk_e411ae0ef00e4701990cde1b7fb9d964","_type":"request_group"},{"_id":"req_a4c5e222c34a48d6bf69f5bdf0ac8eec","authentication":{},"body":{},"created":1559937254900,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931917092,"method":"GET","modified":1559963931999,"name":"Show","parameters":[],"parentId":"fld_14398ff8b2c54a7993cd0ba296880890","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/sizes/1","_type":"request"},{"_id":"req_f12afb4eccfe4fa29d734e5101f259fc","authentication":{"token":"{{ token }}","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n\t\"name\": \"PP\",\n\t\"price\": 32.5,\n\t\"file_id\": 1\n}"},"created":1559937254897,"description":"","headers":[{"id":"pair_45bfc49fed1f43ba84828a17b7d66647","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1559931917067,"method":"POST","modified":1559968183968,"name":"Create","parameters":[],"parentId":"fld_14398ff8b2c54a7993cd0ba296880890","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/products/1/sizes","_type":"request"},{"_id":"req_5cbdfcb56dbb4eed9c4ef0e8749aacb8","authentication":{"token":"{{ token }}","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n\t\"product_id\": 1\n}"},"created":1559937254903,"description":"","headers":[{"id":"pair_45bfc49fed1f43ba84828a17b7d66647","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1559931917017,"method":"PUT","modified":1559938123241,"name":"Update","parameters":[],"parentId":"fld_14398ff8b2c54a7993cd0ba296880890","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/sizes/1","_type":"request"},{"_id":"req_6c5f7a2e3db540208e5892cd5a5e7b01","authentication":{"token":"{{ token }}","type":"bearer"},"body":{},"created":1559937254906,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931916967,"method":"DELETE","modified":1559938127431,"name":"Destroy","parameters":[],"parentId":"fld_14398ff8b2c54a7993cd0ba296880890","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/sizes/2","_type":"request"},{"_id":"req_e0c7c5aac70b41a1b8d5d42c7ac62e53","authentication":{},"body":{},"created":1559931920638,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931917117,"method":"GET","modified":1559931936488,"name":"Index","parameters":[],"parentId":"fld_2c776910112b49909eac321e1e8c46e7","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/types/1/products","_type":"request"},{"_id":"fld_2c776910112b49909eac321e1e8c46e7","created":1559931905447,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1559931905447,"modified":1559931905447,"name":"Products","parentId":"wrk_e411ae0ef00e4701990cde1b7fb9d964","_type":"request_group"},{"_id":"req_3a345ea762974143a29701b13aa2f4ad","authentication":{},"body":{},"created":1559932495962,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931917092,"method":"GET","modified":1559964003194,"name":"Show","parameters":[],"parentId":"fld_2c776910112b49909eac321e1e8c46e7","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/products/1","_type":"request"},{"_id":"req_c8737510c0494e19916fcf2f89f2b973","authentication":{"token":"{{ token }}","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n\t\"name\": \"Calabresa\",\n\t\"file_id\": 1\n}"},"created":1559931942092,"description":"","headers":[{"id":"pair_45bfc49fed1f43ba84828a17b7d66647","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1559931917067,"method":"POST","modified":1559966701178,"name":"Create","parameters":[],"parentId":"fld_2c776910112b49909eac321e1e8c46e7","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/types/1/products","_type":"request"},{"_id":"req_9ea18348c5e7411585e6e9e3ddd4917d","authentication":{"token":"{{ token }}","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n\t\"type_id\": 1\n}"},"created":1559932769379,"description":"","headers":[{"id":"pair_45bfc49fed1f43ba84828a17b7d66647","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1559931917017,"method":"PUT","modified":1559932927542,"name":"Update","parameters":[],"parentId":"fld_2c776910112b49909eac321e1e8c46e7","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/products/1","_type":"request"},{"_id":"req_36982a5735ac4976bbba550866fe5cd4","authentication":{"token":"{{ token }}","type":"bearer"},"body":{},"created":1559932936821,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559931916967,"method":"DELETE","modified":1560123636046,"name":"Destroy","parameters":[],"parentId":"fld_2c776910112b49909eac321e1e8c46e7","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/products/1","_type":"request"},{"_id":"req_54445d0e82a3462b9c4d6f97e2f1bc20","authentication":{},"body":{},"created":1559910982809,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559910982809,"method":"GET","modified":1559910990756,"name":"Index","parameters":[],"parentId":"fld_fa7cc6ed8f75408d82698bf577dd411c","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/types","_type":"request"},{"_id":"fld_fa7cc6ed8f75408d82698bf577dd411c","created":1559910978371,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1559910978371,"modified":1559910978371,"name":"Types","parentId":"wrk_e411ae0ef00e4701990cde1b7fb9d964","_type":"request_group"},{"_id":"req_2aaac2c9e639465984ec144b2c87cc3d","authentication":{},"body":{},"created":1559912534262,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559910982784,"method":"GET","modified":1559917214507,"name":"Show","parameters":[],"parentId":"fld_fa7cc6ed8f75408d82698bf577dd411c","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/types/2","_type":"request"},{"_id":"req_10189c220e2341ae929c02f53e302f51","authentication":{"token":"{{ token }}","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n\t\"name\": \"Bebidas alcóolicas\",\n\t\"description\": \"Cervejas artesanais, vinhos e destilados.\",\n\t\"time\": 5,\n\t\"grade\": 3.6,\n\t\"file_id\": 1\n}"},"created":1559911494751,"description":"","headers":[{"id":"pair_45bfc49fed1f43ba84828a17b7d66647","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1559910982759,"method":"POST","modified":1560123813077,"name":"Create","parameters":[],"parentId":"fld_fa7cc6ed8f75408d82698bf577dd411c","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/types","_type":"request"},{"_id":"req_0d446a627cd14eeda41834487e28085d","authentication":{"token":"{{ token }}","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n\t\"name\": \"Bebidas não-alcóolicas\"\n}"},"created":1559913164956,"description":"","headers":[{"id":"pair_45bfc49fed1f43ba84828a17b7d66647","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1559886712995.5,"method":"PUT","modified":1560122621026,"name":"Update","parameters":[],"parentId":"fld_fa7cc6ed8f75408d82698bf577dd411c","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/types/1","_type":"request"},{"_id":"req_14bac56699524b39b7c54d27d47c44c1","authentication":{"token":"{{ token }}","type":"bearer"},"body":{},"created":1559913591661,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559874578113.75,"method":"DELETE","modified":1560123650622,"name":"Destroy","parameters":[],"parentId":"fld_fa7cc6ed8f75408d82698bf577dd411c","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/types/1","_type":"request"},{"_id":"req_35d243765e9649ed92eb9f10006c79dd","authentication":{"token":"{{ token }}","type":"bearer"},"body":{"mimeType":"multipart/form-data","params":[{"fileName":"/home/renan/pizza/Desafio Final 2.0/Mockup/3ECC50BD-B5F1-4582-B873-DC62B3A23C70/[email protected]","id":"pair_2f13fcd633914017a2a4608df92a6dbb","name":"file","type":"file","value":""}]},"created":1559862443232,"description":"","headers":[{"id":"pair_432ff4f62189447798b1cb01869484ea","name":"Content-Type","value":"multipart/form-data"}],"isPrivate":false,"metaSortKey":-1559862443232,"method":"POST","modified":1560123728244,"name":"Create","parameters":[],"parentId":"fld_380604cfd1ef403ebee75144cbbb727f","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/files","_type":"request"},{"_id":"fld_380604cfd1ef403ebee75144cbbb727f","created":1559862440739,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1559862440739,"modified":1559862440739,"name":"Files","parentId":"wrk_e411ae0ef00e4701990cde1b7fb9d964","_type":"request_group"},{"_id":"req_dc1487ad103a44dda3b8e37193b0e2b6","authentication":{},"body":{},"created":1559863424030,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559859695601.5,"method":"GET","modified":1559933989429,"name":"Show","parameters":[],"parentId":"fld_380604cfd1ef403ebee75144cbbb727f","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/files?id=1","_type":"request"},{"_id":"req_14a96213edc84f4f8e7e8df3ba45e298","authentication":{"token":"{{ token_client }}","type":"bearer"},"body":{},"created":1560081057621,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1559856948021,"method":"GET","modified":1560081163588,"name":"Index","parameters":[],"parentId":"fld_55aa5ac3be3443d39c4c0be600ab04e5","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/sessions","_type":"request"},{"_id":"fld_55aa5ac3be3443d39c4c0be600ab04e5","created":1559856942986,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1559856942986,"modified":1559856942986,"name":"Sessions","parentId":"wrk_e411ae0ef00e4701990cde1b7fb9d964","_type":"request_group"},{"_id":"req_4883aaa0d6ad420491ed6e900ccfbf1d","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"email\": \"[email protected]\",\n\t\"password\": \"ninjutsu\"\n}"},"created":1559856947971,"description":"","headers":[{"id":"pair_4333ab730f8041e4b600e6a81d248636","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1559856947971,"method":"POST","modified":1560119311044,"name":"Create","parameters":[],"parentId":"fld_55aa5ac3be3443d39c4c0be600ab04e5","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/sessions","_type":"request"},{"_id":"req_7e6f0a400ce9432d93775bcc8c8675da","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"name\": \"Renan Machado\",\n\t\"email\": \"[email protected]\",\n\t\"password\": \"renanmav.97\",\n\t\"password_confirmation\": \"renanmav.97\"\n}"},"created":1559856372884,"description":"","headers":[{"id":"pair_637e58eab544412c931fb0c1e38dfd88","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1559856372884,"method":"POST","modified":1559907873010,"name":"Create","parameters":[],"parentId":"fld_61c3e3dcf7f541fcb574870c2e27e34f","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ base_url }}/users","_type":"request"},{"_id":"fld_61c3e3dcf7f541fcb574870c2e27e34f","created":1559856367379,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1559856367379,"modified":1559856367379,"name":"Users","parentId":"wrk_e411ae0ef00e4701990cde1b7fb9d964","_type":"request_group"},{"_id":"env_66b47f1d143e608fad21bebb7ea9313958caee9a","color":null,"created":1559854060624,"data":{"base_url":"http://localhost:8080","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjUsImlhdCI6MTU2MDExOTMxMiwiZXhwIjoxNTYwMTY5NzEyfQ.JVm5b1zDhRiSffxvHKeN862ysuTWRqJwL1px4XiDCtA","token_client":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjYsImlhdCI6MTU2MDA4MTEwNCwiZXhwIjoxNTYwMTMxNTA0fQ.6TuNVsRXLT6UjjAFlxRzzL6VoszbBgbZdIDfEAx_uV4"},"dataPropertyOrder":{"&":["base_url","token","token_client"]},"isPrivate":false,"metaSortKey":1559854060624,"modified":1560119323558,"name":"Base Environment","parentId":"wrk_e411ae0ef00e4701990cde1b7fb9d964","_type":"environment"},{"_id":"jar_66b47f1d143e608fad21bebb7ea9313958caee9a","cookies":[],"created":1559854060629,"modified":1559854060629,"name":"Default Jar","parentId":"wrk_e411ae0ef00e4701990cde1b7fb9d964","_type":"cookie_jar"}]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment