Browse Source

postman file

master
ganesh 4 years ago
parent
commit
4a8f029c7d
1 changed files with 156 additions and 0 deletions
  1. 156
      gorest.co.in.postman_collection.json

156
gorest.co.in.postman_collection.json

@ -0,0 +1,156 @@
{
"info": {
"_postman_id": "9fa14bb0-cd61-484a-b39a-3c0aee4ee4c2",
"name": "gorest.co.in",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "https://gorest.co.in/public-api/users",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://gorest.co.in/public-api/users",
"protocol": "https",
"host": [
"gorest",
"co",
"in"
],
"path": [
"public-api",
"users"
]
}
},
"response": []
},
{
"name": "https://gorest.co.in/public-api/users",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "290e6507ff790f15419eae0e336f2d4b03a634558d1f2580676b8b218f205a9a",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"Robert Redford\", \"gender\":\"Male\", \"email\":\"robert.redford@nextera.com\", \"status\":\"Active\"}"
},
"url": {
"raw": "https://gorest.co.in/public-api/users",
"protocol": "https",
"host": [
"gorest",
"co",
"in"
],
"path": [
"public-api",
"users"
]
}
},
"response": []
},
{
"name": "https://gorest.co.in/public-api/users/123",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "290e6507ff790f15419eae0e336f2d4b03a634558d1f2580676b8b218f205a9a",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\"name\":\"Bobby Redford\", \"email\":\"bobby.redford@nextera.com\", \"status\":\"Active\"}"
},
"url": {
"raw": "https://gorest.co.in/public-api/users/10091",
"protocol": "https",
"host": [
"gorest",
"co",
"in"
],
"path": [
"public-api",
"users",
"10091"
]
}
},
"response": []
},
{
"name": "https://gorest.co.in/public-api/users/10091",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "290e6507ff790f15419eae0e336f2d4b03a634558d1f2580676b8b218f205a9a",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "https://gorest.co.in/public-api/users/10091",
"protocol": "https",
"host": [
"gorest",
"co",
"in"
],
"path": [
"public-api",
"users",
"10091"
]
}
},
"response": []
}
],
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "290e6507ff790f15419eae0e336f2d4b03a634558d1f2580676b8b218f205a9a",
"type": "string"
}
]
},
"protocolProfileBehavior": {}
}
Loading…
Cancel
Save