sideshowcoder / canned

Server to respond with fake API responses, by using a directory of files for finding out what to say!
213 stars 46 forks source link

naming files id is wrong should be any #25

Closed sideshowcoder closed 10 years ago

sideshowcoder commented 10 years ago

initially the plan obviously was to use id as the special name, but now canned is using any as the keyword. So naming the files in example id.get.json is just wrong, to make them available via curl localhost:3000/comment/1 they need to be named any.get.json and accordingly any.put.json.

This causes confusion as seen in #20