We are trying to invoke a https service from our unix script using curl command. The service is not getting invoked because it is SSL configured. Bypassing certification (using curl –k) does not work.
curl -k https://site
curl -k -x IP:Port https://site
curl -k -x IP:443 https://id:pwd@site
... (0 Replies)
Hi
I need a Shell script that will download a zip file every second from a http server but i can't use neither curl nor wget.
Can anyone will help me go about this task ???
Thanks!! (1 Reply)
i use curl and wget quite often.
i set up alarms on their output. for instance, i would run a "wget" on a url and then search for certain strings within the output given by the "wget".
the problem is, i cant get the entire output or response of my wget/curl command to show up correctly in... (3 Replies)
Hi,
My script needs to crawl the data from a third party site. Currently it is written in wget. The third party site is of shared interface with different IP addresses.
My wget works with all the IP address but not with one. Whereas the curl is able to hit that IP address and comes out... (2 Replies)
Experts,
I login to a 3rd party and pull some valuable information with my credentials. I pass my credentials via --post-data in wget.
Now my Account is locked. I want my wget to alert that the Account is locked. How can i achieve this.
My idea is, get the Source page html from the... (2 Replies)
Hello,
What I am trying to do is to get html data of a website automatically.
Firstly I decided to do it manually and via terminal I entered below code:
$ wget http://www.***.*** -q -O code.html
Unfortunately code.html file was empty.
When I enter below code it gave Error 303-304
$... (1 Reply)
i'm using this command to post data to a remote host:
wget --post-data="My Data" http://<my-ip>:80 -O /dev/null -q
and
curl --data "My Data" http://<my-ip>:80
however, when i run the above, i see the following in my access log on the remote host:
Wget:
10.10.10.10 - - "POST /... (1 Reply)
What can I use instead of wget/curl when I need to log into websites that use javascript?
Wget and curl don't handle javascript. (6 Replies)
Discussion started by: locoroco
6 Replies
LEARN ABOUT DEBIAN
data::format::html
Data::Format::HTML(3pm) User Contributed Perl Documentation Data::Format::HTML(3pm)NAME
Data::Format::HTML - Format Perl data structures into simple HTML
SYNOPSIS
use Data::Format::HTML;
my $f = Data::Format::HTML->new;
my %hash = (simple => 'hash');
# Of course it's very unlikely that you won't deal ever with this
# kind of structure, but HTML is able to hand it all anyway :)
my $struct = {
foo => 'bar',
1 => 2,
'hello' => 'goodbye',
array_ref => [qw/one two three/],
nested_hash => \%hash,
[qw/1 2/] => sub { die; },
even_more => { arr => {
1 => [2, 3, 4],
this_is_insane => { a => { b => { c => { d => { e => 'z'}}}}}
},
},
};
$struct->{'Data::Format::HTML handles it all'} = $f;
print $f->format();
And that will output the following insane, but possible, for the sake of showing, HTML:
In theory you can pass any kind of Perl data structure to "format" and you will get its data HTML-formatted.
TODO
o A LOT. ;)
o Explain how CSS can prettify the tables (specification for everything)
o Get CSS.
o Better support for GLOB, CODE, REF and company.
o Extend this documentation.
SEE MORE
The author keeps the versioned code at GitHub at: http://github.com/damog/data-format-html/tree/master <http://github.com/damog/data-
format-html/tree/master>.
AUTHOR
David Moreno Garza, <david@axiombox.com> - <http://damog.net/>
THANKS
To Raquel (<http://www.maggit.com.mx/>), who makes me happy every single day of my life.
COPYRIGHT AND LICENSE
Copyright (C) 2008 by David Moreno Garza
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
The Do What The Fuck You Want To public license also applies. It's really up to you.
perl v5.12.3 2009-07-17 Data::Format::HTML(3pm)