Re: A URL API

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 UTC