www.smsbao.com (SMS Bao) has an SMS uplink receiving API.
API description is:
http://xxx.xxx.xxx/ xxx?m=PHONE&c=CONTENT
http://xxx.xxx.xxx/xxx: URL address for receiving text messages
PHONE: Sender’s mobile phone number
CONTENT: SMS content, using UTF-8 URL ENCODE
Returning '0' is considered successful reception, other content is error prompt content
I used the urldecode() function to decode the text message content, but it was still garbled. How to solve it? Thanks!
Attachment:
Send test content via mobile phone:
66666successful success! @#
Decoded content:
66666successfulæˆåŠŸï¼@#
www.smsbao.com (SMS Bao) has an SMS uplink receiving API.
API description is:
http://xxx.xxx.xxx/ xxx?m=PHONE&c=CONTENT
http://xxx.xxx.xxx/xxx: URL address for receiving text messages
PHONE: Sender’s mobile phone number
CONTENT: SMS content, using UTF-8 URL ENCODE
Returning '0' is considered successful reception, other content is error prompt content
I used the urldecode() function to decode the text message content, but it was still garbled. How to solve it? Thanks!
Attachment:
Send test content via mobile phone:
66666successful success! @#
Decoded content:
66666successfulæˆåŠŸï¼@#
<code>iconv('gbk','utf-8//IGNORE',$content);</code>
Use urldecode and then transfer the code.
Are you submitting to their API?
urldecode?
Shouldn’t it be urlencode encoding?