Re: Module to accept and parse POST in JSON

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ruby on Rails application (Active Resource as far as i remember) sends
request arguments via POST and PUT in JSON format (application/json).
I needed the way to parse these arguments and put them in apr_table_t
structure.

Anyway, I have already made such module. Called it mod_args. Module
parse normal arguments (?var1=lala&var2=lala), POST and PUT arguments
in uuencode form (from html forms) and POST and PUT arguments in JSON
form using small libjson library.

I will soon share this module on GPL (most probably) licence terms.

On Mon, Dec 21, 2009 at 3:52 AM, Devraj Mukherjee <devraj@xxxxxxxxx> wrote:
> It might help if you describe what you are trying to achieve and we
> might be able to give you a better answer.
>
> On Sun, Dec 13, 2009 at 3:09 AM, Kevac Marko <marko@xxxxxxxxx> wrote:
>> Hello
>>
>> Is there any module similar to mod_form
>> (http://apache.webthing.com/mod_form/) which is able to accept and
>> parse POST request in JSON format (application/json)?
>>
>> Thanks.
>>
>> --
>> Marko Kevac
>> Sent from Moscow, Mow, Russia
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>>
>
>
>
> --
> "The secret impresses no-one, the trick you use it for is everything"
> - Alfred Borden (The Prestiege)
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>



-- 
Marko Kevac
Sent from Moscow, Mow, Russia

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux