[SOLVED] fetch url problem / sms api
Posted: Mon Oct 21, 2013 3:11 pm
Hi, I'm trying to write a working script to send me SMS via API, the manual for API service can be found here
The script I tried and following error (personal data omitted):
or
any idea how to get this working?
The script I tried and following error (personal data omitted):
Code: Select all
/tool> fetch url="http://rest.nexmo.com/sms/xmlapi_key=KEY&api_secret=PASS&from=Gatekeeper&to=NUMBER&text=test_msg"
status: failed
failure: closing connection: <404 Not Found> 173.193.199.22:80 (4)
Code: Select all
/tool> fetch address="rest.nexmo.com" mode=http src-path="/sms/xmlapi_key=KEY&api_secret=PASS&from=Gatekeeper&to=NUMBER&text=test_msg"
status: failed
failure: closing connection: <302 Moved Temporarily> 174.37.245.36:80 (4)