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...
Continue reading...