[progress Communities] [progress Openedge Abl] Forum Post: Re: Is It Possible To Use...

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
That’s because you told the server you were sending form-encoded data headers.append("Content-Type", "application/x-www-form-urlencoded"); Form-encoded data has a structure of key-1=value1&key-2=value-1. en.wikipedia.org/.../POST_(HTTP) has a quick overview. If you want to try sending JSON, then change the value of the Content-Type header headers.append("Content-Type", "application/json ");

Continue reading...
 
Status
Not open for further replies.
Back
Top