[codenameone-discussions] Re: Problems using PUT method with Restful api

2021-06-13 Thread Shai Almog
In the screenshot you posted it looks like you passed the parameters in the URL. On Sunday, June 13, 2021 at 5:14:04 PM UTC+3 rdvg...@gmail.com wrote: > Hi, > Excuse me, if it works fine when I send information through the body. > > > El Sunday, June 13, 2021 a la(s) 8:31:23 AM UTC-5,

[codenameone-discussions] Re: Problems using PUT method with Restful api

2021-06-13 Thread rdvg...@gmail.com
Hi, Excuse me, if it works fine when I send information through the body. El Sunday, June 13, 2021 a la(s) 8:31:23 AM UTC-5, rdvg...@gmail.com escribió: > Hi, > > Thank you very much Mr. Shai, I have other methods in my application that > they use in the PUT method and I need to send

[codenameone-discussions] Re: Problems using PUT method with Restful api

2021-06-13 Thread rdvg...@gmail.com
Hi, Thank you very much Mr. Shai, I have other methods in my application that they use in the PUT method and I need to send information through the body. In this scenario it also sends me error. Have another trick to move forward? El Saturday, June 12, 2021 a la(s) 8:38:36 PM UTC-5, Shai Almog

[codenameone-discussions] Re: Problems using PUT method with Restful api

2021-06-12 Thread Shai Almog
Hi, PUT defaults to sending parameters as POST within the Rest API. I'll add a way to override that behavior with a postParameters(false) method. This will be there next week. A potential workaround might be to use a "hack" like this: Response r = Rest.put(SERVER_URL +