Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Problem with simple LWP get request

by Gangabass (Vicar)
on Aug 23, 2011 at 01:44 UTC ( #921781=note: print w/replies, xml ) Need Help??

in reply to Problem with simple LWP get request

Remove ' HTTP/1.1' at the end of the $url

Replies are listed 'Best First'.
Re^2: Problem with simple LWP get request
by Jaymac (Initiate) on Aug 23, 2011 at 14:58 UTC
    I was not able to make a GET work beyond what I show here. I tried something similar with a POST and it worked... I guess I'll go with POST (though I'd rather know why GET didn't work...).

    Thanks to everyone for your help
      Then what was that you posted in the OP???
        It should return an authentication key (a string of characters) at the end of the response line and it doesn't. It's possible the service is messed up at the source. They've been pretty flaky.

        Using POST works without a hitch so I can't imagine why GET doesn't. I'm just so new to using HTML protocols and LWP I thought I must be doing something wrong (and maybe I am).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://921781]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2018-05-24 20:11 GMT
Find Nodes?
    Voting Booth?