Thus said Dan Egli on Thu, 30 Apr 2015 03:38:49 -0700:

> Just don't  say I should  use wget or  curl because they  don't handle
> POSTs very well and  this will be a POST site  that is being connected
> to.

Definitely not wget, but curl is  perfectly fine with POST. I've used it
to  handle custom  login  sequences  with POST  and  it wasn't  terribly
difficult. The  question isn't whether  curl can handle it,  but rather,
perhaps, how much sed/awk scripting do  you want to accomplish it? Using
curl to automate HTTP transactions will  require a bit of scripting, but
it does work.

But if you would rather use a programming language, the are all kinds of
HTTP libraries out there. If you like Python, give Requests[1] a look.

[1] http://docs.python-requests.org/en/latest/

Thanks,

Andy
-- 
TAI64 timestamp: 400000005543143d



/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to