Browse Source

add an example

master
Nicolas Massé 8 years ago
parent
commit
6a03060ebc
  1. 52
      postman_collection.json

52
postman_collection.json

@ -0,0 +1,52 @@
{
"info": {
"_postman_id": "b9a371c6-524a-4751-94c4-6a9b18e20762",
"name": "Summit API",
"description": "An API that gives information about the Red Hat Summit.",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "location",
"description": "Folder for location",
"item": [
{
"name": "Get Next RH Summit Location",
"request": {
"method": "GET",
"header": [],
"body": {},
"url": "http:///location",
"description": "Get the location of the next RedHat Summit "
},
"response": [
{
"id": "321cab01-1c89-42de-9e4e-387d0cf9a584",
"name": "Get Next RH Summit Location",
"originalRequest": {
"method": "GET",
"header": [],
"body": {},
"url": "http:///location"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": "",
"type": "text",
"name": "Content-Type"
}
],
"cookie": [],
"body": "{ \"location\": \"SFO\" }"
}
]
}
]
}
]
}
Loading…
Cancel
Save