aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rest_pastebin
AgeCommit message (Collapse)Author
2013-04-11Remove process_post, post_is_create, create_path, created_path callbacksLoïc Hoguin
Instead it will always go through content_types_accepted and it is up to the resource code to do any creation and to return the created path if the method is POST and the client should be redirected to the created resource's location. This removes the meta value 'put_path' as it is not needed anymore. This fixes an issue with PATCH where content types were not normalized.
2013-02-16Improve pastebin exampleAdam Cammack
Reject more malicious paths.
2013-02-07Merge branch 'add_rest_example' of git://github.com/acammack/cowboyLoïc Hoguin
2013-02-07Add a more involved REST exampleAdam Cammack
A pastebin type application that can optionally highlight the output as both text and HTML.