Sponsored Content
Full Discussion: Perl HTTP::Tiny
Top Forums Shell Programming and Scripting Perl HTTP::Tiny Post 302977405 by Chubler_XL on Sunday 17th of July 2016 08:46:55 PM
Old 07-17-2016
Can't say I've played with HTTP::Tiny but have you tried:

Code:
perl -MHTTP::Tiny -E 'say HTTP::Tiny->new->post("http://192.168.100.1/goform/RgConfiguration?Rebooting=1")

 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Assistance with Perl and HTTP

I need to query a http site and then parse the xml results, this works well if I use the string in IE but I require an automated solution. I have tried using the following as well as HTTP::Request, nothing seems to work any suggestions would be appreciated, I have tried diffrnt things I found on... (7 Replies)
Discussion started by: bryanthomas
7 Replies

2. Shell Programming and Scripting

Perl Http Post over SSL

Hello, I'm using a tunnel broker for tunneling IPv6 traffic, as my ISP does not support it natively. As of recent i switched from Hurricane Electrics tunnel broker to Sixxs. Whenever my IP address changes, i have to manually log in and change it. This is a bit cumbersome so i was thinking of... (0 Replies)
Discussion started by: regexp
0 Replies

3. Shell Programming and Scripting

awk script to find time difference between HTTP PUT and HTTP DELETE requests in access.log

Hi, I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log. Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
TAP::Parser::YAMLish::Reader(3pm)			 Perl Programmers Reference Guide			 TAP::Parser::YAMLish::Reader(3pm)

NAME
TAP::Parser::YAMLish::Reader - Read YAMLish data from iterator VERSION
Version 3.17 SYNOPSIS
DESCRIPTION
Note that parts of this code were derived from YAML::Tiny with the permission of Adam Kennedy. METHODS
Class Methods "new" The constructor "new" creates and returns an empty "TAP::Parser::YAMLish::Reader" object. my $reader = TAP::Parser::YAMLish::Reader->new; Instance Methods "read" my $got = $reader->read($stream); Read YAMLish from a TAP::Parser::Iterator and return the data structure it represents. "get_raw" my $source = $reader->get_source; Return the raw YAMLish source from the most recent "read". AUTHOR
Andy Armstrong, <andy@hexten.net> Adam Kennedy wrote YAML::Tiny which provided the template and many of the YAML matching regular expressions for this module. SEE ALSO
YAML::Tiny, YAML, YAML::Syck, Config::Tiny, CSS::Tiny, <http://use.perl.org/~Alias/journal/29427> COPYRIGHT
Copyright 2007-2008 Andy Armstrong. Portions copyright 2006-2008 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.12.1 2010-04-26 TAP::Parser::YAMLish::Reader(3pm)
All times are GMT -4. The time now is 02:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy