XML API Explained!
Please Note :To send SMS using XML you must create an interface (form) having a form element with name as ‘SendSMS_XML’.e.g. <input name="SendSMS_XML" type="text" > Post/Submit your case-sensitive XML through that form as HTTP post to the following URL : http://cloud.smshat.com/API_SendSMS_XML.aspx Example of your case-sensitive XML<XMLHome> <sendMsg> <user>username</user> <passwd>password</passwd> <to>919XXXXXXX,9715XXXXXX</to> <sid>Test</sid> <text>SMS Text here...</text> </sendMsg> </XMLHome> Parameters Explained
Expected Responses
Note :If message contains special charcaters like space,@,- etc then please encode the message before passing it into the API call. |