@yonggeon wrote:
I am using HttpRequest for REST API of Parse on iOS
So I need to use PUT method
But when I used PUT method the Content-Type is changed forcibly to "application/x-www-form-urlencoded"
HttpClient-apple.mm source code has below codeif ([requestType isEqual: @"PUT"])
{
[nsrequest setValue: @"application/x-www-form-urlencoded" forHTTPHeaderField: @"Content-Type"];
}I don't understand why
Parse REST API needs PUT method with "Content-Type: application/json"
How can I solve this?
Posts: 1
Participants: 1