PDA

View Full Version : Adobe air put method no params



dewie
26 Feb 2008, 10:55 PM
I have a grid talking to a restfull rails backend, this all works fine in the browser.
But when using this setup in Adobe air i get no params to the server.

I discovered that air is not submitting any params when making a ajax call with the method put, when i change my code to use the post method i get the params fine.

Is there a way to make adobe air play nice with put methods ?

( i really like my current setup and i would like to make a air version and a browser version with no (or just small) adjustments )

Any idea ?

dewie
28 Feb 2008, 12:41 AM
Okay for all of you using a rails backend, you can use the method rails
uses for browsers, spcecify the method in a param named _method