Created
May 8, 2014 16:08
-
-
Save kyranjamie/b0ac3dd518580b131d50 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
- request: | |
url: /hello | |
response: | |
body: ':)' | |
- request: | |
url: /give/me/a/smile | |
response: | |
status: 200 | |
body: > | |
{"status": "hello world with single quote"} | |
headers: | |
content-type: application/json | |
- request: | |
method: GET | |
url: /atomfeed/1 | |
response: | |
headers: | |
content-type: application/xml | |
status: 200 | |
body: <?xml version="1.0" encoding="UTF-8"?><payment><paymentDetail><invoiceTypeLookupCode/></paymentDetail></payment> | |
- request: | |
url: ^/give/me/some/json$ | |
response: | |
headers: | |
content-type: application/json | |
body: > | |
[{ | |
"name":"John", | |
"email":"[email protected]" | |
},{ | |
"name":"Jane", | |
"email":"[email protected]" | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment