| { | |
| "info": { | |
| "_postman_id": "b4e87df4-e575-429b-8639-702fb8b1442e", | |
| "name": "Ticketing System", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json", | |
| "_exporter_id": "18831179" | |
| }, | |
| "item": [ | |
| { | |
| "name": "Create Flexblok Account", | |
| "request": { | |
| "method": "POST", | |
| "header": [], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\r\n \"username\":\"marimuthu01\",\r\n \"password\":\"1234\"\r\n}", | |
| "options": { | |
| "raw": { | |
| "language": "json" | |
| } | |
| } | |
| }, | |
| "url": "http://localhost:3000/api/users" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Create Ticketing Admin", | |
| "request": { | |
| "auth": { | |
| "type": "bearer", | |
| "bearer": { | |
| "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NjQ0YTAzZTc1ZGM5NmRhZDFmZDkzNzAiLCJyb2xlcyI6WyJBZG1pbiJdLCJpYXQiOjE3NDA2NTg2OTAsImV4cCI6MTc0MDc0NTA5MCwiYXVkIjoiNjY0NGEwM2U3NWRjOTZkYWQxZmQ5MzcwIiwiaXNzIjoiaW5mLmNvbSJ9.MQR9a-NPS-BVIkGHoUebaS8iUQFYyBGa1FghYK2sRAg" | |
| } | |
| }, | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "x-api-key", | |
| "value": "WMnXKod4BreU+e0GK4mG53xkZW/vesIHfU6C+Tkt74M=", | |
| "type": "text" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\r\n \"username\":\"marimuthu\",\r\n \"password\":\"1234\",\r\n \"userAddress\":\"0xF14D7c0430aDC4af27E8D17E34EB970D7cbd3872\"\r\n}", | |
| "options": { | |
| "raw": { | |
| "language": "json" | |
| } | |
| } | |
| }, | |
| "url": "http://localhost:3000/api/users/create-admin" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Create Ticketing User", | |
| "request": { | |
| "auth": { | |
| "type": "bearer", | |
| "bearer": { | |
| "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NjQ0YTAzZTc1ZGM5NmRhZDFmZDkzNzAiLCJyb2xlcyI6WyJBZG1pbiJdLCJpYXQiOjE3NDA2NjQ1ODYsImV4cCI6MTc0MDc1MDk4NiwiYXVkIjoiNjY0NGEwM2U3NWRjOTZkYWQxZmQ5MzcwIiwiaXNzIjoiaW5mLmNvbSJ9.2q0o-oqabq5ARCVhVKpulysDTIFOoc3beS-W9lbU9Kg" | |
| } | |
| }, | |
| "method": "POST", | |
| "header": [], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\r\n \"username\":\"marimuthu\",\r\n \"password\":\"1234\",\r\n \"userAddress\":\"0xF14D7c0430aDC4af27E8D17E34EB970D7cbd3872\"\r\n}", | |
| "options": { | |
| "raw": { | |
| "language": "json" | |
| } | |
| } | |
| }, | |
| "url": "http://localhost:3000/api/users/create-user" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Signin", | |
| "request": { | |
| "method": "POST", | |
| "header": [], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\r\n \"username\":\"marimuthu01\",\r\n \"password\":\"1234\",\r\n \"userType\":\"User\"\r\n}", | |
| "options": { | |
| "raw": { | |
| "language": "json" | |
| } | |
| } | |
| }, | |
| "url": "http://localhost:3000/api/users/signin" | |
| }, | |
| "response": [] | |
| } | |
| ] | |
| } |