+

Search Tips   |   Advanced Search

Switch for tunneling of HTTP methods

The portal implementation allows us to simulate PUT and DELETE requests by tunneling, that is using POST requests instead.

By default tunneling is disabled. To enable it, for example because to disable PUT and DELETE requests in general, but allow equivalent operations for REST services provided by the portal, set the property x-method-override.enabled to the value true in the portal configuration service WP ConfigService Resource Environment Provider in the WAS console. If we set the property x-method-override.enabled to true , then the Config Service considers the x-method-override request header, when a request comes in. Whether or not to send this header is a decision of the HTTP client. Although the property name refers to only one replacement, the switch actually applies to both ways of request tunneling as described in the interface.


Parent How the portal implements the remote PUMA REST service