In a previous post, Scalable Web Apps: Erlang + Python, I talked broadly about using HTTP to make external applications talk to an Erlang cluster over the internet or network. The following code is an example of a MochiWeb server set up to receive HTTP requests with embedded JSON. HTTP is basically used as a nice wrapper around whatever data is being sent and data is wrapped-up in a serialized form called JSON.
Add your comment
Voters For This Link (12)
-
bloid -
puredanger -
mswatcher -
alashcraft -
zis -
willcode4beer -
docmach -
ksh2dzone -
tjweir -
splix -
xulii -
AlainODea