CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [FishMonger] HTTP::Tiny question: Edit Log



planejanez
New User

Jul 23, 2016, 7:12 AM


Views: 3840
Re: [FishMonger] HTTP::Tiny question

FishMonger that works perfect! Thank you!

Here's a working one liner I can use from the OpenBSD command prompt. Again, this is to reboot the Arris SURFboard SB6183 cable modem using the built in Perl HTTP::Tiny module.


Code
perl -MHTTP::Tiny -E 'HTTP::Tiny->new->post_form("http://192.168.100.1/goform/RgConfiguration", { Rebooting => 1 })'



(This post was edited by planejanez on Jul 23, 2016, 2:12 PM)


Edit Log:
Post edited by planejanez (New User) on Jul 23, 2016, 2:11 PM
Post edited by planejanez (New User) on Jul 23, 2016, 2:12 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives