bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] wget with sms api help


From: Ángel González
Subject: Re: [Bug-wget] wget with sms api help
Date: Thu, 20 Mar 2014 19:34:44 +0100
User-agent: Thunderbird

On 20/03/14 03:06, address@hidden wrote:
On Thu, March 20, 2014 6:23 am, Ángel González wrote:

Note it's a very bad idea to send the username and password that way. I
think you would want to use https:// instead. And if your text is too long
for providing in the url, --post-data and --post-file are your friends.
Angel,

thanks for pointing out! I totally overlooked the https...
and, the post-file makes it easier, thanks again!!

works puurfect

# wget --post-file=smstxt
'https://www.smsglobal.com/http-api.php?action=sendsms&user=me&password=pswd&&from=me&to=cell'

hmmmmm.... so..., could I also include like below in post-file?
action=sendsms
user=me
password=pswd

Voytek
Yes, of course. Just put in the file everything you would put after the ? (without the ? itself, and keeping &s, escaping, etc)





reply via email to

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