[rabbitmq-discuss] Docs/Advice on extending HTTP API

Dushin Fred fred at dushin.net
Tue Aug 27 13:49:12 BST 2013

Excellent, thanks for that, Tim.  This link [1] is especially helpful, in case anyone else is struggling with the same.

Leave it to the folks at Basho to write up some cool stuff.


[1] https://github.com/basho/webmachine/wiki/Resource-Functions

On Aug 27, 2013, at 6:30 AM, Tim Watson <tim at rabbitmq.com> wrote:

> Hi Fred,
> On 27 Aug 2013, at 01:27, Dushin Fred wrote:
>> Short of that, can anyone explain the roles of the following functions?
>> content_types_provided/2
>> resource_exists/2
>> to_json/2
>> is_authorized/2
>> augmented/2
>> basic/1
>> Who calls them?  When are they called?  Can anything general be said about the parameters to these functions?   (Yes, I too can use io:format :)
>> Sorry for the somewhat vague set of questions, but I haven't gotten cozy with mochiweb (though I have done some work with YAWS), so I am just hunting for a few pointers.
> This is more to do with webmachine - a RESTFul web development framework that runs on top of mochiweb. You might want to take a look at http://webmachine.basho.com/ for documentation of resource handler callbacks and other useful bits an pieces.
> Cheers,
> Tim
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

More information about the rabbitmq-discuss mailing list