Unable to pass plus sign (+) in front of country code when using UR... | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through January 23, 2007 ⬆ |
◄ ► |
Author | Message | |||
Adnan New member Username: Qss Post Number: 1 Registered: 12-2006 |
Hi All, In my application I am using URL syntax to send SMS messages with NowSMS 2006: http://host?Sender=061123456&PhoneNumber=+38761654321&Text=test When I use country code (387) I need to prefix the number with plus sign (+) otherwise the modem will not deliver the message. When URL decoded the + sign is replaced with a space character and NowSMS sends to 38761654321 insted of +38761654321. Can NowSMS 2006 be configured to automatically add plus sign to all international numbers and leave local number (starting with 0) untouched? Please help - it is urgent. Best regards, Adnan | |||
Malcolm - Now Support New member Username: Malcolm Post Number: 8 Registered: 12-2006 |
Hi Adnan, URL request parameters need to be URL escaped ... in particular characters like "+" can get you in trouble, because in a URL request, "+" is an encoding for the space character. Basically, you need to use "%2B" in a URL string instead of "+". You can find some more info here: http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/url_pa rameters_for_sending_messages.htm -- Malcolm Now Wireless Support |