Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
- 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":"john@example.com"
},{
"name":"Jane",
"email":"jane@example.com"
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment