I am using a service for SMS (https://www.labsmobile.com/).
Basically this is the relevant code from appStudio (I put the commented out ones in the Project ExtraHeaders property) :
xhr.open("POST", "https://cors-anywhere.herokuapp.com/https://api.labsmobile.com/json/send"); //xhr.setRequestHeader("Content-Type", "application/json"); //xhr.setRequestHeader("Authorization", "Basic " + btoa("firstname.lastname@example.org:bia3752019")); //xhr.setRequestHeader("Cache-Control", "no-cache"); xhr.send(data);
This is what the Extra Headers property for the project looks like:
I am getting this error - any ideas?
A sample project with a demo acct:
SmsDemo.appstudio.zip (7.7 KB)