{ "info": { "_postman_id": "f485c168-c134-4423-b00c-fcb185d458c0", "name": "Authentication API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Login", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"credential\": \"UsuarioTeste\",\r\n \"password\": \"senha123\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{baseURL}}/login", "host": [ "{{baseURL}}" ], "path": [ "login" ] } }, "response": [] }, { "name": "Signup", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"username\": \"UsuarioTeste\",\r\n \"email\": \"emailteste@mail.com\",\r\n \"password\": \"senha123\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{baseURL}}/signup", "host": [ "{{baseURL}}" ], "path": [ "signup" ] } }, "response": [] }, { "name": "Logout", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiaWF0IjoxNjE1NjYzODU0LCJleHAiOjE2MTU3NTAyNTR9.IaisOXSEmCjPsMgX6wcMpOv9EjwoxeUiNl5ZCHnVx5s", "type": "string" } ] }, "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{baseURL}}/logout", "host": [ "{{baseURL}}" ], "path": [ "logout" ] } }, "response": [] } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ], "variable": [ { "key": "baseURL", "value": "http://localhost:3333" } ] }