Skip to content

Instantly share code, notes, and snippets.

@katta
Created August 23, 2012 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katta/3437976 to your computer and use it in GitHub Desktop.
Save katta/3437976 to your computer and use it in GitHub Desktop.
Fakerest sample configuration file
---
method : get
path : /customer/:id
response:
content_file : customer
content_type : json
status_code : 200
---
method : post
path : /customer
response:
content_file : customer_created
content_type : text/plain
status_code : 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment