Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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

by Doctrin (Beadle)
on Dec 06, 2012 at 10:51 UTC ( #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?

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

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

    Results (315 votes). Check out past polls.