Skip to main content
Skip table of contents

getRestHttpRequest() Functions

Syntax
NONE
set aRequestObject = getRestHttpRequest()
Semantics

Returns the request details as provided by the HTTP call. Return object is of type Base Components::Add Ons::REST::Request, which is part of the E2E Bridge base components.

getRestHttpRequest() is only applicable in REST service context. In other contexts, e.g. if called via a SOAP shadow port (and thus SOAP context), getRestHttpRequest() will return NULL. Use  getServiceContext() or getServiceContextValue() in such cases.

SubstitutablesaRequestObject

An object of type Base Components::Add Ons::REST::Request:

Examples
NONE
set aRequestObject = getRestHttpRequest();
Reading the REST request headers is e.g. important to implement REST Service authentication as described on REST Service Authentication > Implementing Authentication.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.