When i connect my watch with android device successfully make web request.but i connect it with iphone it's return -400 how can i make that issue.
function makeRequest() as Void {
var params = {
"watchCode" => code,
};
var options = {
:method => Communications.HTTP_REQUEST_METHOD_GET,
:headers => {
"Content-Type" => Communications.REQUEST_CONTENT_TYPE_JSON,
},
:responseType => Communications.HTTP_RESPONSE_CONTENT_TYPE_TEXT_PLAIN,
};
Communications.makeWebRequest(url, params, options, method(:onReceive));
}