I am using Node.js and module http-proxy
(link here) to proxy requests in my server.
Detecting DELETE requests
What I want to achieve is performing certain action when an HTTP DELETE request is sent.
Poor doc
How can I do this? Module http-proxy
comes with a very poor documentation and objects like res
, req
and proxyRes
are not properly documented. From the doc it is possible to understand that object proxyRes
has a property called headers
and nothing more.