Skip to content

Commit

Permalink
Add usage information to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Onatolich committed Apr 20, 2017
1 parent 554f411 commit d039ea0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ Which serves the current folder with canned responses on port 3000

will serve the relative folder via port 5000

If you need canned to respond with some delay, pass delay in ms to `response_delay` arg

$ canned --response_delay=1000 ./my/reponses/

If you want canned to iterate through all accepted content types in the `Accept` header, use

$ canned --relaxed_accept=true ./my/reponses/
Expand Down

0 comments on commit d039ea0

Please sign in to comment.