Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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 ) );

Comment on REST in Perl: sending data with DELETE request?.. See inside
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
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? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2015-07-29 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls