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: voytek
Subject: Re: [Bug-wget] wget with sms api help
Date: Thu, 20 Mar 2014 13:06:47 +1100
User-agent: SquirrelMail/1.5.2 [SVN]

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




reply via email to

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