W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: A URL API

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 20 Sep 2010 10:06:06 +0200
Message-ID: <4C9715EE.8050008@gmx.de>
To: Adam Barth <w3c@adambarth.com>
CC: Garrett Smith <dhtmlkitchen@gmail.com>, Devdatta Akhawe <dev.akhawe@gmail.com>, WebApps WG <public-webapps@w3.org>
On 20.09.2010 10:01, Adam Barth wrote:
> On Mon, Sep 20, 2010 at 12:34 AM, Julian Reschke<julian.reschke@gmx.de>  wrote:
>> On 20.09.2010 09:22, Garrett Smith wrote:
>>>
>>> ...
>>> I see setParameterValues there. Useful to build URLs for XHR. But OTOH
>>> -- Ajax that is using a lot of parameters, might be better using a
>>> form. Usually Ajax requests are simple requests -- not a large form
>>> submission. Sorry just have to be devils advocate on the necessity of
>>> the thing.
>>> ...
>>
>> How do you use a form to build a request other than GET/POST?
>
> Using the method attribute of the form element.

OK. So I set the method attribute to "FOOBAR", and then how do I proceed 
generating an HTTP request from there?

Best regards, Julian
Received on Monday, 20 September 2010 08:06:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT