Quantcast
Channel: Matomo forums - Latest topics
Viewing all articles
Browse latest Browse all 13970

Getting Exception while trying to send sms

$
0
0

@suvathi wrote:

$.ajax({
url: "http://api.smscountry.com/SMSCwebservice_bulk.aspx?User=***&passwd=*****&mobilenumber="+mobileNo+"&message=Hello&sid=SMSCountry(default)&mtype=N&DR=Y",
type: 'GET',
async: true,
success: function (response) {
$('#confirm-volunteering-prereg-dialog').modal('hide');
buttonRef.addAttr('disabled');
}
});

In the above code i am getting the below exception ,

XMLHttpRequest cannot load http://api.smscountry.com/SMSCwebservice_bulk.aspx?User=ISHATA&passwd=Swam!…mobilenumber=******&message=Hello&sid=SMSCountry(default)&mtype=N&DR=Y. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.

We are using symfony,php7.
I am new to this.Kindly provide me the solution to solve this?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 13970

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>