Created
August 23, 2018 13:44
-
-
Save Nelrohd/6c3e554ea0dcfea27784fa21dc5e4586 to your computer and use it in GitHub Desktop.
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
{ | |
"info": { | |
"_postman_id": "a733743c-64aa-4ace-bcb8-fa7e042d8382", | |
"name": "CLIENT WEBSITE (DEMO)", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Users", | |
"description": null, | |
"item": [ | |
{ | |
"name": "Register user", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"username\": \"subject@clevertech.biz\",\n\t\"password\": \"subject_password\"\n}" | |
}, | |
"url": { | |
"raw": "{{api_base_url}}/api/users/register", | |
"host": [ | |
"{{api_base_url}}" | |
], | |
"path": [ | |
"api", | |
"users", | |
"register" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Login", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"username\": \"subject@clevertech.biz\",\n\t\"password\": \"subject_password\"\n}" | |
}, | |
"url": { | |
"raw": "{{api_base_url}}/api/users/login", | |
"host": [ | |
"{{api_base_url}}" | |
], | |
"path": [ | |
"api", | |
"users", | |
"login" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
}, | |
{ | |
"name": "CORS", | |
"request": { | |
"method": "OPTIONS", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "" | |
}, | |
"url": { | |
"raw": "{{api_base_url}}/", | |
"host": [ | |
"{{api_base_url}}" | |
], | |
"path": [ | |
"" | |
] | |
} | |
}, | |
"response": [] | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"id": "982980da-a6e7-415b-9b1d-a144827753b5", | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"id": "b7db94f8-5fc2-4c04-b29c-907194768fa3", | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment