cURL / Mailing Lists / curl-users / Single Mail

curl-users

<button onclick="window.location='

From: Marjan Savli <marjan.savli_at_gmail.com>
Date: Thu, 8 Oct 2015 09:34:29 +0200

Hello!

I am trying to automate login on our local host spot.
Using curl I should be able to automate login with simulated click

I am using WRT54GS with curl

   curl 7.14.0 (mipsel-unknown-linux-gnu) libcurl/7.14.0 OpenSSL/0.9.8d
zlib/1.2.2
   Protocols: ftp http file https ftps
   Features: IPv6 Largefile NTLM SSL libz

Source code of button on the web page is

-----
<button onclick="window.location='
http://172.31.151.1/login?dst=http://www.foo.si/hot-spot&amp;username=T-60%3A21%3AC0%3AD3%3A18%3A55
'">Confirm</button>
------

Numbers in username are my router MAC address.

I was looking for an example on mailing list archive, but since I am
beginner in curl, I am asking for help.

Thanks in advance.

Majan

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-10-08