Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Problem with simple LWP get request

by Gangabass (Vicar)
on Aug 23, 2011 at 01:44 UTC ( [id://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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://921781]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-18 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found