function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Maria YuMaria Yu 

https://cs62.salesforce.com/services/apexrest/v10 API call gives Missing Content-Type HTTP header error

After upgrading to iOS SalesForceSDKCore v5.2.0 now my POST API does not work.
It's givingthis error, 
errorCode = "INVALID_CONTENT_TYPE";
message = "Missing Content-Type HTTP header";

The query parameters are like this:

Status=Planned&aUserID=0055C000000ExaoQAC&endDate=1504029480000&startDate=1504027680000&accID=001U000000UQTZcIAP&IsPrivate=false&EventObjective=Development&CancellationReason=&AlldayEvent=false&FixedEvent=true&EventType=Visit

Any idae?
 
MahmudkMahmudk
What's the request message content type you are sending ?