mock docs

This commit is contained in:
Lloyd Brookes
2015-11-27 19:55:51 +00:00
parent d38ac16e71
commit 6c4a9a2436
5 changed files with 163 additions and 22 deletions

View File

@ -7,6 +7,13 @@
}
},
{
"route": "/one",
"response": {
"type": "text/plain",
"body": "<h1>Welcome to the Mock Responses example</h1>"
}
},
{
"route": "/two",
"request": { "accepts": "xml" },
"response": {
@ -33,7 +40,7 @@
},
{
"route": "/four",
"module": "/mocks/four.js"
"module": "/mocks/stream-self.js"
},
{
"route": "/five/:id\\?name=:name",