[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] wget with sms api help

From: voytek
Subject: [Bug-wget] wget with sms api help
Date: Wed, 19 Mar 2014 11:04:12 +1100
User-agent: SquirrelMail/1.5.2 [SVN]

I have an account with smsglobal, they have sms http api as so:


If I use a browser like so:


browser says:

OK: 0; Sent queued message ID: e506.....28 SMSGlobalMsgID:64.....80337

and, I receive an sms OK on cellphone

if I try wget with same url, I get[1]:

do I need to escape strings...? how ?

downloaded file has like:

# cat http-api.php?action=sendsms
ERROR: Missing parameter: user
ERROR: Missing parameter: password
ERROR: Missing parameter: from
ERROR: Missing parameter: to

# wget

[1] 18942
[2] 18943
[3] 18944
[4] 18945
[2]   Done                    user=myname
[3]-  Done                    password=mypassworde && from=myself
# --2014-03-19 10:56:39-- 
Resolving www.smsglobal.com...
Connecting to www.smsglobal.com||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 130 [text/html]
Saving to: `http-api.php?action=sendsms.1'

100%[======================================>] 130         --.-K/s   in 0s

2014-03-19 10:56:39 (8.76 MB/s) - `http-api.php?action=sendsms.1' saved

(then I hit 'cr' ot propmt doesn't come back)

[1]-  Done                    wget
[4]+  Done                    to=mycellphone

reply via email to

[Prev in Thread] Current Thread [Next in Thread]