Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: POE HTTP Server

by Anonymous Monk
on Aug 18, 2009 at 15:05 UTC ( [id://789492]=note: print w/replies, xml ) Need Help??


in reply to POE HTTP Server

I figured it out!!! You want to POST not GET
print LWP::UserAgent->new->post( qw[ http://localhost:8000/user/ Accept text/x-json Content-Type text/x-json ], Content => q[{"Password":"blah","Username":"blah"}], )->as_string;

Replies are listed 'Best First'.
Re^2: POE HTTP Server
by rcaputo (Chaplain) on Aug 18, 2009 at 21:15 UTC

Log In?
Username:
Password:

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

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

    No recent polls found