laziness, impatience, and hubris | |
PerlMonks |
Re^4: REST Webservicesby arbingersys (Pilgrim) |
on Nov 20, 2009 at 22:05 UTC ( [id://808534]=note: print w/replies, xml ) | Need Help?? |
As I make this post, CGI is at version 3.48, and it will handle GET|POST|PUT but not DELETE.
I discovered this trying to make a REST dispatch in a .cgi script. I believe you're right -- that DELETE can be handled just like GET. On my system, I made the following change to CGI.pm, and DELETE started to work (I got query string parameters back).
This is a pretty minor modification, and you get decent functionality out of the DELETE verb (i.e. parameters). I'd love to see at least this much provided by CGI.pm.
A blog among millions.
In Section
Seekers of Perl Wisdom
|
|