Hi,here is my request body
body = [“name”:“challenge”,“phoneNumber”:"+454545",“age” : “33”]
and here is request function
invokeWithRequest(RequestMethod.RequestMethodPost, url: “https://api.backendless.com/v1/data/Challenge”, parameters: body, headers: nil, errorHandler: DefaultError(), progressHandler: DefaultProgress())
and the header
headers[“application-type”] = “REST”
headers[“Content-Type”] = “application/json”
and it give me this error
{
code = 8002;
message = “Could not parse request with message: Invalid Json”;
}
any suggestion?
Edited I put headers with parent function,i know that in this method header is nil