Support forum
Hello Shahzad,
The URI that you provide in your post should work as the HTTP URI in the HTTP Gateway of Diafaan SMS Server. However, there is a difference with the URI that you provide in the emails and I suspect that this causes your issues.
The URI in the emails have an additional % character in the mobile number tag, '[%to]' instead of '[to]'. Since '[%to]' is not a valid tag, it will not be replaced by the mobile number and you will get the "Mobile Number is Invalid" error.
You can enable communication logging for the HTTP Gateway to see exactly what The HTTP Gateway sends to SMS service and you can use that to troubleshoot the URI.
Regards, Henk
12:56 pm
i am facing problem on setting up an API. i am using this code:
"
HTTP GET
http://api.lowcostsms.co.uk/api/sendsms?id=[*REMOVED*]&pass=[*REMOVED*]&mobile=[to]&brandname=ANMOLSCHOOL&msg=[message-text]?http://api.lowcostsms.co.uk/api/sendsms?id=[*REMOVED*]&pass=[*REMOVED*]&mobile=[to]&brandname=ANMOLSCHOOL&msg=ddddddd
200
{"Response":"Mobile Number is Invalid"}
"
the [to] field cannot pick up the phone number. please hep me to reset this value.
1 Guest(s)