{ "mocks": [ { "route": "/", "response": { "body": "

Welcome to the Mock Responses example

" } }, { "route": "/one", "response": { "type": "text/plain", "body": "

Welcome to the Mock Responses example

" } }, { "route": "/two", "request": { "accepts": "xml" }, "response": { "body": "" } }, { "route": "/three", "responses": [ { "request": { "method": "GET" }, "response": { "body": "

Mock response for 'GET' request on /three

" } }, { "request": { "method": "POST" }, "response": { "status": 400, "body": { "message": "That method is not allowed." } } } ] }, { "route": "/four", "module": "/mocks/stream-self.js" }, { "route": "/five/:id", "module": "/mocks/five.js" }, { "route": "/users", "module": "/mocks/users.js" } ] }