Skip to content

Commit

Permalink
updated postman
Browse files Browse the repository at this point in the history
  • Loading branch information
iammukeshm committed Jul 31, 2021
1 parent b7b844a commit 2a7d505
Showing 1 changed file with 111 additions and 4 deletions.
115 changes: 111 additions & 4 deletions postman/fluentpos.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,51 @@
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}/catalog/brands/00235f06-a666-43e3-9e10-b77f27f3c6ac",
"raw": "{{url}}/catalog/brands/538f5ce7-9bd4-4309-8e62-6e566b01fdfe",
"host": [
"{{url}}"
],
"path": [
"catalog",
"brands",
"00235f06-a666-43e3-9e10-b77f27f3c6ac"
"538f5ce7-9bd4-4309-8e62-6e566b01fdfe"
]
}
},
"response": []
},
{
"name": "Register Brand",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{token}}",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"string\",\r\n \"imageUrl\": \"string\",\r\n \"detail\": \"string\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{url}}/catalog/brands",
"host": [
"{{url}}"
],
"path": [
"catalog",
"brands"
]
}
},
Expand Down Expand Up @@ -90,8 +127,78 @@
"response": []
}
]
},
{
"name": "people",
"item": [
{
"name": "register-customer",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{token}}",
"type": "string"
}
]
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"mukesh\",\r\n \"phone\": \"7306488721\",\r\n \"email\": \"[email protected]\",\r\n \"type\":\"test\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{url}}/people/customers",
"host": [
"{{url}}"
],
"path": [
"people",
"customers"
]
}
},
"response": []
},
{
"name": "get-carts",
"request": {
"method": "GET",
"header": [],
"url": null
},
"response": []
},
{
"name": "get-cart-items",
"request": {
"method": "GET",
"header": [],
"url": null
},
"response": []
}
]
}
],
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{token}}",
"type": "string"
}
]
},
"event": [
{
"listen": "prerequest",
Expand Down Expand Up @@ -123,11 +230,11 @@
},
{
"key": "default_user",
"value": "user@example.com"
"value": "staff@fluentpos.com"
},
{
"key": "default_user_password",
"value": "string"
"value": "123Pa$$word!"
}
]
}

0 comments on commit 2a7d505

Please sign in to comment.