Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: POE HTTP Server

by Anonymous Monk
on Aug 18, 2009 at 15:05 UTC ( #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? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2022-12-05 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?