Last active
December 17, 2015 17:39
-
-
Save cmoore4/5647728 to your computer and use it in GitHub Desktop.
A definition of a REST test.
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
{ | |
"name": "Example: GET users search", | |
"documentation": "*Markdown*?", | |
"createDate": "2013-05-24 10:40:15-6", | |
"request": { | |
"method": "GET", | |
"url": "https://api.example.com/v1/users", | |
"parameters": "q=(name:Tester McT)&oauth=X123V456", | |
"body": null, | |
"headers": [ | |
{"X-My-Header": 123}, | |
{"X-Your-Header": "Potato"}], | |
"preflight": true, | |
"ajax": true, | |
"accept": ["json","xml","string"] | |
}, | |
"response": { | |
"status_codes": [200, 201], | |
"headers": [{"Etags": "$numeric"}], | |
"body": {"username": "Sean Moore", "cats": ["Abita", "Hubig"]}, | |
"cors": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment