Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinboston/96f66b4ffec97e483af5 to your computer and use it in GitHub Desktop.
Save dustinboston/96f66b4ffec97e483af5 to your computer and use it in GitHub Desktop.
Postman collection for local auth with angular-fullstack Yeoman generator
{
"id": "e0ff964f-6dd8-6c2a-1444-6afa58ff1500",
"name": "Local Auth",
"description": "",
"order": [
"1e7c070f-2ad5-a777-8aea-da9e4a1b75bf",
"4423ded8-e38e-d852-9dd6-9177368e6d09"
],
"folders": [],
"timestamp": 1431125920517,
"synced": false,
"owner": "",
"subscribed": false,
"remoteLink": "",
"public": false,
"write": true,
"requests": [
{
"id": "1e7c070f-2ad5-a777-8aea-da9e4a1b75bf",
"headers": "",
"url": "http://localhost:9000/auth/local",
"pathVariables": {},
"preRequestScript": "",
"method": "POST",
"collectionId": "e0ff964f-6dd8-6c2a-1444-6afa58ff1500",
"data": [
{
"key": "email",
"value": "test@test.com",
"type": "text",
"enabled": true
},
{
"key": "password",
"value": "test",
"type": "text",
"enabled": true
}
],
"dataMode": "urlencoded",
"name": "Auth",
"description": "",
"descriptionFormat": "html",
"time": 1431125920516,
"version": 2,
"responses": [],
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"synced": false
},
{
"id": "4423ded8-e38e-d852-9dd6-9177368e6d09",
"headers": "Authorization: Bearer INSERT_TOKEN_HERE\n",
"url": "http://localhost:9000/api/users/me",
"pathVariables": {},
"preRequestScript": "",
"method": "GET",
"collectionId": "e0ff964f-6dd8-6c2a-1444-6afa58ff1500",
"data": [
{
"key": "name",
"value": "fancy",
"type": "text",
"enabled": true
},
{
"key": "body",
"value": "pants",
"type": "text",
"enabled": true
}
],
"dataMode": "params",
"name": "GET me",
"description": "",
"descriptionFormat": "html",
"time": 1431125941080,
"version": 2,
"responses": [],
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
"collectionOwner": 0,
"synced": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment