In my App I cant use Frameworks like Mojo or Dancer or so on.
I have to check for the request method by
CGI->new()->request_method
And I know I can get the Parameters from POST or PUT by
CGI->new()->param('POSTDATA') # OR 'PUTDATA'
I have to this because the data which I get is JSON with header=application/json
But what can I do when I have da DELETE-Request?
CGI->new()->request_method eq 'DELETE'
works. But what about the params?