aboutsummaryrefslogtreecommitdiffstats
path: root/examples/rest_pastebin
AgeCommit message (Collapse)Author
2014-08-01Update to erlang.mk 1.0.0Loïc Hoguin
2014-06-30Update erlang.mk and update paths to start the releaseLoïc Hoguin
Fixes a couple invalid instructions at the same time.
2013-10-22No need for relx in path for examples anymoreLoïc Hoguin
2013-10-14erlang.mk now has built-in support for relxLoïc Hoguin
2013-09-09Fix the list of registered processes in the examplesLoïc Hoguin
2013-09-08Convert the REST pastebin example to a releaseLoïc Hoguin
2013-09-04Make cowlib a proper dependencyLoïc Hoguin
Start moving a few functions from Cowboy into cowlib.
2013-08-01Fix rest_pastebin exampleKuk-Hyun Lee
2013-04-12Fix rest_pastebin exampleAdam Cammack
Bring the rest_pastebin example in line with REST API changes for creating resources.
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.