Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2016-10-20 20:32 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (281 votes). Check out past polls.