Relay Server Pass-Through Mode for HTTP Clients

HTTP clients can connect through a Relay Server to SAP Mobile Server to use the REST services.

Due to some techincal limitations, URL rewrite is not supported for the applications. To support the URL rewrite, application has to provide the backend request URL as a request header namely X-SUP-BACKEND-URL while sending the request to SAP Mobile Server. When this request reaches to the SAP Mobile Server, the server forwards the request to the URL as provided in the X-SUP-BACKEND-URL. Upon receiving the response, backend returns the response to the application without any change. Thus in this case the backend URL present within the response body are not re-written by the SAP Mobile Server. If the application uses these URL for the subsequent calls, then such calls will not be returned to the SUP server. Hence, the application should add the backend request URL to the X-SUP-BACKEND-URL header for each request message.