-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arpad Bakos wrote: > Hi I'd like to use http://www.google.co.uk/sendtophone?...le&gl=GB&hl=en > as a pager. I know google stopped their free sms service. This website > only sends a message about how to start using Google services to your > mobile if you give them your number. So the idea is that if something > happens in a program I would be notified via this service. > > I tried to use: > > wget -q --post-data="MYMOBILENUMBER" > https://www.google.co.uk/sendtophone...e&gl=GB&hl=enq > > Unfortunately nothing happens. > > Any suggestions?
A mobile number is not a valid argument to --post-data, which expects "key1=value1&key2=value2&..." syntax. In order to use it properly, you have to take a look at the HTML form to deduce which fields (and even which URL) to use. There is a brief walkthrough for using --post-data at http://wget.addictivecode.org/FrequentlyAskedQuestions#password-protected - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. Maintainer of GNU Wget and GNU Teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpBIFYACgkQ7M8hyUobTrGPJgCfUjUAM5jUqrsxI8UGXpRHWOuj zcUAnjIUP8I2T+FTN8+fKcHKedoe3YPG =86qB -----END PGP SIGNATURE-----
