[OpenLayers-Users] example of using post method in Class: OpenLayers.Ajax.Request ??

Erik Uzureau erik.uzureau at metacarta.com
Wed Nov 7 12:08:59 EST 2007


from the commmit() function in

lib/OpenLayers/Layer/WFS.js
(http://dev.openlayers.org/docs/files/OpenLayers/Layer/WFS-js.html#OpenLayers.Layer.WFS.commit)


        // from prototype.js
        new OpenLayers.Ajax.Request(url,
                         {   method: 'post',
                             postBody: data,
                             onComplete: success,
                             onFailure: failure
                          }
                         );

--e

On 11/7/07, Sébastien Geindre <sebastien.geindre at meteo.fr> wrote:
> hi everybody !
>
> i am looking for example about Class: OpenLayers.Ajax.Request with post
> method ?
>
> I'd like to make, inside an OL interface, a http post request.
>
> thanks.
>
> --
> Sébastien Geindre
> DPREVI/AERO/DEV
> sebastien.geindre __at__ meteo.fr
>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list