[erlang-questions] Creation of HTTP URLs with arguments
Torben Hoffmann
torben.lehoff@REDACTED
Tue Oct 11 11:42:02 CEST 2011
On Mon, Oct 10, 2011 at 19:30, Garrett Smith <g@REDACTED> wrote:
> Hi Torben,
>
> > I want to create URLs that looks like this:
> > http://my.coolest.site.com?arg1=val1,arg2=val2
> > Are there any libraries out there that makes this kind of creation easy?
>
> From https://github.com/mochi/mochiweb:
>
> mochiweb_util:urlencode([{"arg1", "val1"}, {"arg2", "val2"}])
>
Another one to choose from. Great!
I will experiment a bit and see which one fits my needs the best.
Cheers,
Torben
--
http://www.linkedin.com/in/torbenhoffmann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111011/e5c9ba56/attachment.htm>
More information about the erlang-questions
mailing list