I may have found the root cause of the failure when I tried to call the webservice but have no idea how to resolve it.
The issue lies with the header content type.
headers : {
“content-type” : “application/json”
},
When it is received at the 3rd party server, the header content type became text/plain instead of application/json.
How can I set the header content type which I already set in my code as shown above.
Please advise.
Thanks.