{ "info": { "name": "Server", "description": "", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "test6", "description": "", "item": [ { "name": "session", "description": "", "item": [ { "name": "login", "description": "", "event": [], "auth": {}, "request": { "auth": {}, "method": "POST", "body": { "mode": "raw", "raw": "{\r\n \"username\": \"admin\",\r\n \"password\": \"password\"\r\n}", "options": { "raw": { "language": "json" } } }, "header": [], "url": { "raw": "http://localhost:3000/login", "path": [ "login" ], "host": [ "localhost" ], "protocol": "http", "port": "3000", "query": [], "variable": [] } }, "response": [], "protocolProfileBehavior": { "strictSSL": false, "followRedirects": true } }, { "name": "logout", "description": "", "event": [], "auth": {}, "request": { "auth": {}, "method": "POST", "body": {}, "header": [], "url": { "raw": "http://localhost:3000/logout", "path": [ "logout" ], "host": [ "localhost" ], "protocol": "http", "port": "3000", "query": [], "variable": [] } }, "response": [], "protocolProfileBehavior": { "strictSSL": false, "followRedirects": true } }, { "name": "protected", "description": "", "event": [], "auth": {}, "request": { "auth": {}, "method": "GET", "body": {}, "header": [], "url": { "raw": "http://localhost:3000/protected", "path": [ "protected" ], "host": [ "localhost" ], "protocol": "http", "port": "3000", "query": [], "variable": [] } }, "response": [], "protocolProfileBehavior": { "strictSSL": false, "followRedirects": true } }, { "name": "profile", "description": "", "event": [], "auth": {}, "request": { "auth": {}, "method": "GET", "body": {}, "header": [], "url": { "raw": "http://localhost:3000/profile", "path": [ "profile" ], "host": [ "localhost" ], "protocol": "http", "port": "3000", "query": [], "variable": [] } }, "response": [], "protocolProfileBehavior": { "strictSSL": false, "followRedirects": true } } ], "event": [ { "listen": "prerequest", "script": { "exec": [], "type": "text/javascript", "packages": {} } }, { "listen": "test", "script": { "exec": [], "type": "text/javascript", "packages": {} } } ], "auth": {} }, { "name": "jwt", "description": "", "item": [ { "name": "login", "description": "", "event": [], "auth": {}, "request": { "auth": {}, "method": "POST", "body": { "mode": "raw", "raw": "{\r\n \"username\": \"admin\",\r\n \"password\": \"password\"\r\n}", "options": { "raw": { "language": "json" } } }, "header": [], "url": { "raw": "http://localhost:3000/jwt-login", "path": [ "jwt-login" ], "host": [ "localhost" ], "protocol": "http", "port": "3000", "query": [], "variable": [] } }, "response": [], "protocolProfileBehavior": { "strictSSL": false, "followRedirects": true } }, { "name": "logout", "description": "", "event": [], "auth": {}, "request": { "auth": {}, "method": "POST", "body": {}, "header": [ { "key": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoxLCJ1c2VybmFtZSI6ImFkbWluIn0sImlhdCI6MTc2NDA0MDUxNCwiZXhwIjoxNzY0MDQ0MTE0fQ.KNi5c8lQdn15duALOHg6RYLMxyi-15aBZR1psHzCXlk", "description": "", "type": "string" } ], "url": { "raw": "http://localhost:3000/jwt-logout", "path": [ "jwt-logout" ], "host": [ "localhost" ], "protocol": "http", "port": "3000", "query": [], "variable": [] } }, "response": [], "protocolProfileBehavior": { "strictSSL": false, "followRedirects": true } }, { "name": "profile", "description": "", "event": [], "auth": {}, "request": { "auth": {}, "method": "GET", "body": {}, "header": [ { "key": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoxLCJ1c2VybmFtZSI6ImFkbWluIn0sImlhdCI6MTc2NDA0MDUxNCwiZXhwIjoxNzY0MDQ0MTE0fQ.KNi5c8lQdn15duALOHg6RYLMxyi-15aBZR1psHzCXlk", "description": "", "type": "string" } ], "url": { "raw": "http://localhost:3000/jwt-profile", "path": [ "jwt-profile" ], "host": [ "localhost" ], "protocol": "http", "port": "3000", "query": [], "variable": [] } }, "response": [], "protocolProfileBehavior": { "strictSSL": false, "followRedirects": true } } ], "event": [ { "listen": "prerequest", "script": { "exec": [], "type": "text/javascript", "packages": {} } }, { "listen": "test", "script": { "exec": [], "type": "text/javascript", "packages": {} } } ], "auth": {} } ], "event": [ { "listen": "prerequest", "script": { "exec": [], "type": "text/javascript", "packages": {} } }, { "listen": "test", "script": { "exec": [], "type": "text/javascript", "packages": {} } } ], "auth": {} } ], "variable": [], "event": [], "auth": {} }