Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

REST in Perl: sending data with DELETE request?.. See inside

by Doctrin (Beadle)
on Dec 06, 2012 at 10:51 UTC ( [id://1007530]=perlquestion: print w/replies, xml ) Need Help??

Doctrin has asked for the wisdom of the Perl Monks concerning the following question:

Hello everyone! How do I send data with DELETE request (sic!) ?.. Any ideas about that?.. Thanx in advance UPD: Resolved.
my $content = 'some really important content'; my $HttpReq = HTTP::Request->new( DELETE => $myUrl ); $HttpReq->content_type( 'application/x-www-form-urlencoded' ); $HttpReq->content( $content ); $HttpReq->header( 'Content-Length' => length( $content ) );

Log In?
Username:
Password:

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

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

    No recent polls found