Closed alixaxel closed 8 years ago
It's actually implemented was not not documented.
You can do:
proxy.route('PURGE', '/my/custom/path', optionalMiddleware)
I've just updated the docs to reflect this API method: https://github.com/h2non/rocky#rockyroutemethod-path--middleware-
I've a REST API that provides the following HTTP methods:
I would like to proxy all these through Rocky, but not all of them are available in the interface.
Additionally,
OPTIONS
is served directly from Rocky.Is there an easy way of specifying additional HTTP methods to be proxied?