-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathInsomnia_2023-05-23.json
1 lines (1 loc) · 18.9 KB
/
Insomnia_2023-05-23.json
1
{"_type":"export","__export_format":4,"__export_date":"2023-05-23T03:55:06.134Z","__export_source":"insomnia.desktop.app:v2023.2.0","resources":[{"_id":"req_48a991ca9f53493f97f44962170702d1","parentId":"fld_c3fad66c8cd545f786c7f285475c27ac","modified":1677905943472,"created":1677905900041,"url":"{{ _.url }}userAuth/login","name":"New Request","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\t\"email\": \"[email protected]\",\n\t\t\"password\": \"bruna123\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1677905900041,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_c3fad66c8cd545f786c7f285475c27ac","parentId":"wrk_f99ee4d7e6bc48a6ae59fcc2b8e4fe41","modified":1677905402216,"created":1677905402216,"name":"Auth","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1677905402216,"_type":"request_group"},{"_id":"wrk_f99ee4d7e6bc48a6ae59fcc2b8e4fe41","parentId":null,"modified":1677892916796,"created":1676234567937,"name":"Backend","description":"","scope":"design","_type":"workspace"},{"_id":"req_4a4a4bcffd964f20af09aeaa50ef9af2","parentId":"fld_c3fad66c8cd545f786c7f285475c27ac","modified":1677905909918,"created":1677905806902,"url":"{{ _.url }}userAuth/signup","name":"CRIANDO CONTA","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\t\"user\": \"fallenzao\",\n\t\t\"email\": \"[email protected]\",\n\t\t\"password\": \"bruna123\"\n\t}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1677905806902,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_661f65d9c2cd406f83b5dd4eb4554291","parentId":"fld_c3fad66c8cd545f786c7f285475c27ac","modified":1677905966663,"created":1677905405101,"url":"{{ _.url }}userAuth/teste","name":"BUSCANDO AUTH","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_727b2e2847c74714a7e8733902bbe660","name":"x-access-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiZmFsbGVuemFvIiwiZW1haWwiOiJmYWxsZTNuTkBlbWFpbC5jb20iLCJpYXQiOjE2Nzc5MDU5NDQsImV4cCI6MTY3NzkwOTU0NH0.Svd5GoLByRf39nZSFX8yHnT82NtBVG13L9XDrSpbLqU","description":""}],"authentication":{},"metaSortKey":-1677905405101,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_2964568d65f948f0a9f45cdd8b44f398","parentId":"fld_2dbb97d2f6ed4391a8d147961b8e83f6","modified":1677891917767,"created":1677891893404,"url":"http://localhost:3000/carrinho/1","name":"DELETAR CARRINHO","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1677891893404,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_2dbb97d2f6ed4391a8d147961b8e83f6","parentId":"wrk_f99ee4d7e6bc48a6ae59fcc2b8e4fe41","modified":1677695659694,"created":1677695659694,"name":"carrinhos","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1677695659694,"_type":"request_group"},{"_id":"req_e3f89f2ec5274514b9f909ae5120ef1e","parentId":"fld_2dbb97d2f6ed4391a8d147961b8e83f6","modified":1677905787249,"created":1677788853549,"url":"{{ _.url }}carrinho/1","name":"buscar carrinho por id","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1677788853549,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_56c8bce74a6b48728510dc1953d1107a","parentId":"fld_2dbb97d2f6ed4391a8d147961b8e83f6","modified":1684813935027,"created":1684812637553,"url":"{{ _.url }}carrinho/pedidos","name":"atual","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_3bfdbd0d4e894561bd3024a194fa4b8e","name":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNjg0ODEwNDE1fQ.WOdniovg6-V6k5YaNFJ8-RvJVpX0bHf1nKsDrmqcomg","description":""}],"authentication":{},"metaSortKey":-1677786124737,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1409f1d3675d43d4a405bed6534173a0","parentId":"fld_2dbb97d2f6ed4391a8d147961b8e83f6","modified":1677695757498,"created":1677695744429,"url":"http://localhost:3000/carrinho","name":"MOSTRAR TODOS CARRINHOS","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1677695744429,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_46de9bcaf01841efbceb4af371832df8","parentId":"fld_2dbb97d2f6ed4391a8d147961b8e83f6","modified":1677788921533,"created":1677695734171,"url":"http://localhost:3000/carrinho/1","name":"PUT PATCH alterar carrinho","description":"","method":"PATCH","body":{"mimeType":"application/json","text":"\t{\n\t\t\"produtos\": [\n\t\t\t{\n\t\t\t\t\"produto_id\": \"3\",\n\t\t\t\t\"quantidade\": \"2\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"produto_id\": \"3\",\n\t\t\t\t\"quantidade\": \"4\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"produto_id\": \"3\",\n\t\t\t\t\"quantidade\": \"4\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"produto_id\": \"3\",\n\t\t\t\t\"quantidade\": \"4\"\n\t\t\t}\n\t\t],\n\t\t\"desconto\": 20\n\t}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1677695734171,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d2851346452e445d9687a7a634668a97","parentId":"fld_2dbb97d2f6ed4391a8d147961b8e83f6","modified":1677893659098,"created":1677695680220,"url":"http://localhost:3000/carrinho/1/valortotal","name":"GET SOMAR VALOR CARRINHO","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1677695680220,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_990886f0ab6340848d6d70d89d660adc","parentId":"fld_2dbb97d2f6ed4391a8d147961b8e83f6","modified":1677893631447,"created":1677686717803,"url":"http://localhost:3000/carrinho","name":"POST ADD NOVO CARRINHO","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\t\"id\": \"11\",\n\t\t\"produtos\": [\n\t\t\t{\n\t\t\t\t\"produto_id\": \"3\",\n\t\t\t\t\"quantidade\": \"4\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"produto_id\": \"5\",\n\t\t\t\t\"quantidade\": \"4\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"produto_id\": \"2\",\n\t\t\t\t\"quantidade\": \"4\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"produto_id\": \"4\",\n\t\t\t\t\"quantidade\": \"4\"\n\t\t\t}\n\t\t],\n\t\t\"desconto\": 20\n\t}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1677686717803,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ca1ac7ad182b47c3bca323d8943c22a3","parentId":"fld_bf14dd43cb254f778f9f40f847a381f5","modified":1682553673468,"created":1677890359598,"url":"http://localhost:3000/users","name":"POST NEW USER","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"user\": \"fallenzao\",\n\t\"email\": \"[email protected]\",\n\t\"password\": \"bruna123\",\n\t\"id\": \"4\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1677890359598,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_bf14dd43cb254f778f9f40f847a381f5","parentId":"wrk_f99ee4d7e6bc48a6ae59fcc2b8e4fe41","modified":1677695653480,"created":1677695653480,"name":"users","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1677695653480,"_type":"request_group"},{"_id":"req_67f9f5db708746d196f0d797d71a7658","parentId":"fld_bf14dd43cb254f778f9f40f847a381f5","modified":1677890880314,"created":1677871004988,"url":"http://localhost:3000/users/2","name":"GET PROCURAR USER ID","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1677871004988,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_adf63e6bfb0546248712c2b5acdaf7f0","parentId":"fld_bf14dd43cb254f778f9f40f847a381f5","modified":1677783537075,"created":1677783395925,"url":"http://localhost:3000/users/1","name":"EDITAR USER","description":"","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t\"user\": \"Neymar Junor\",\n\t\"email\": \"[email protected]\",\n\t\"password\": \"bruna123\",\n\t\"id\": \"1\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1677783395925,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6999b4ac05ab434a82ad80fff3a8e64b","parentId":"fld_bf14dd43cb254f778f9f40f847a381f5","modified":1677696632805,"created":1677696614612,"url":"http://localhost:3000/users/1","name":"deleta user","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1677696614612,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_75d127771c2e41f9a14da4ba9916f825","parentId":"fld_bf14dd43cb254f778f9f40f847a381f5","modified":1684807887221,"created":1676234567982,"url":"http://localhost:3000/users/","name":"GET ALL USERS","description":"","method":"GET","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1677696614562,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4dce95385def4bc6864b47f9c0fe1bde","parentId":"fld_bf14dd43cb254f778f9f40f847a381f5","modified":1684811511964,"created":1684807895590,"url":"https://backend-dc-server.onrender.com/users/login","name":"login","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"username\": \"allan\",\n\t\"password\": \"1234\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1677696179495.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_837d98848dc4452194da35c6caff49a0","parentId":"fld_bf14dd43cb254f778f9f40f847a381f5","modified":1684810717865,"created":1684810426013,"url":"http://localhost:3000/users/profile","name":"profile","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_7376a49bcec648e781996c64737cda4f","name":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNjg0ODEwNDE1fQ.WOdniovg6-V6k5YaNFJ8-RvJVpX0bHf1nKsDrmqcomg","description":""}],"authentication":{},"metaSortKey":-1677695961962.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8b2f2d0b1c4a4af88de1de7057dd7ecd","parentId":"fld_f2a3673b0b4448aeb01a5f08d56b1956","modified":1677874077798,"created":1676575720971,"url":"localhost:3000/produtos/search?palavra_chave=categoria&info=calçado","name":"FILTAR PRODUTO","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1677691174081.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_f2a3673b0b4448aeb01a5f08d56b1956","parentId":"wrk_f99ee4d7e6bc48a6ae59fcc2b8e4fe41","modified":1677695630360,"created":1677695630360,"name":"produtos","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1677695630360,"_type":"request_group"},{"_id":"req_c382ff5d538049b38e4f6cc62f30ed03","parentId":"fld_f2a3673b0b4448aeb01a5f08d56b1956","modified":1677695645406,"created":1676575182550,"url":"http://localhost:3000/produtos/","name":"CRIA PRODUTOS","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"categoria\": \"Calçado\",\n \"titulo\": \"Tenis Naike\",\n \"descricao\": \"Pula altão\",\n \"valor\": 300,\n \"desconto\": 0,\n \"img\": \"https://loremflickr.com/640/480/abstract\"\n }"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1677691174075.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_298243233076401d95fef03737662af2","parentId":"fld_f2a3673b0b4448aeb01a5f08d56b1956","modified":1677696305241,"created":1676573771758,"url":"http://localhost:3000/produtos","name":"GET ALL PRODUTOS","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1677691174069,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a41ff128dd244374b359b9eef809b0f6","parentId":"fld_f2a3673b0b4448aeb01a5f08d56b1956","modified":1677695640867,"created":1676573787715,"url":"http://localhost:3000/produtos/3","name":"GET PRODUTO","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1677691174056.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_18bfccd691e0441e976cc0e239f25db2","parentId":"fld_f2a3673b0b4448aeb01a5f08d56b1956","modified":1677695667377,"created":1676664041010,"url":"http://localhost:3000/produtos/3","name":"PUT PATCH ALTERAR PRODUTO","description":"","method":"PUT","body":{"mimeType":"application/json","text":"\t{\n\t\t\"categoria\": \"calcado\",\n\t\t\"titulo\": \"tenis miss uno\",\n\t\t\"descricao\": \"Pula altão\",\n\t\t\"valor\": 80,\n\t\t\"img\": \"https://loremflickr.com/640/480/abstract\"\n\t}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1677691174044,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1430c8f758484cfda5b47135270e455b","parentId":"fld_f2a3673b0b4448aeb01a5f08d56b1956","modified":1677695637826,"created":1676575284844,"url":"http://localhost:3000/produtos/3","name":"DELETE PRODUTO","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1677691174031.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_33dddffb98e495ff6f20c055e8f508a7b3a5fe59","parentId":"wrk_f99ee4d7e6bc48a6ae59fcc2b8e4fe41","modified":1677905468276,"created":1676234567949,"name":"Base Environment","data":{"url":"http://localhost:3000/"},"dataPropertyOrder":{"&":["url"]},"color":null,"isPrivate":false,"metaSortKey":1676234567949,"_type":"environment"},{"_id":"jar_33dddffb98e495ff6f20c055e8f508a7b3a5fe59","parentId":"wrk_f99ee4d7e6bc48a6ae59fcc2b8e4fe41","modified":1684811513925,"created":1676234567951,"name":"Default Jar","cookies":[{"key":"__cf_bm","value":"0A6wlt5FF69FQTUCvUcKq4LFNEiWpORJKx062rZK2lo-1684811515-0-Ae0DG70YJRDkCZ1Ss+dne2K+qrBAsYCNxVEHyRnv/fOA/AOfa9R9BZpyTSsM2F4jkKXab/K/SbNVFWRjSJPU0iw=","expires":"2023-05-23T03:41:55.000Z","domain":"onrender.com","path":"/","secure":true,"httpOnly":true,"extensions":["SameSite=None"],"hostOnly":false,"creation":"2023-05-23T03:11:53.924Z","lastAccessed":"2023-05-23T03:11:53.924Z","id":"8368159620109863"},{"key":"_cfuvid","value":"XJA1PeOxwrD7nh9naRJCapV9HK70a.726FE0II45VcE-1684811515782-0-604800000","domain":"onrender.com","path":"/","secure":true,"httpOnly":true,"extensions":["SameSite=None"],"hostOnly":false,"creation":"2023-05-23T03:11:53.924Z","lastAccessed":"2023-05-23T03:11:53.924Z","id":"18610200537074562"}],"_type":"cookie_jar"},{"_id":"spc_67ecd404366f49f0ae8d150238d0e2c5","parentId":"wrk_f99ee4d7e6bc48a6ae59fcc2b8e4fe41","modified":1677892916778,"created":1676234567944,"fileName":"Backend","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"uts_4a53f187cb754db88704128f88399471","parentId":"wrk_f99ee4d7e6bc48a6ae59fcc2b8e4fe41","modified":1676234567984,"created":1676234567984,"name":"Example Test Suite","_type":"unit_test_suite"},{"_id":"env_91386b9abc1d41d99e8f5e2cace4d5b0","parentId":"env_33dddffb98e495ff6f20c055e8f508a7b3a5fe59","modified":1677905526492,"created":1677905493543,"name":"New Environment","data":{"url":"http://localhost:3000/"},"dataPropertyOrder":{"&":["url"]},"color":null,"isPrivate":false,"metaSortKey":1677905493543,"_type":"environment"}]}