Request URL Format

The HTTP client can access SAP Mobile Platform services using a specific URL format.

For accessing services directly through SAP Mobile Server without a Relay Server:

http://host[:port]/[public/]/{resource}/{resource-specific}

Proxy URL

For accessing services where a relay server is configured with the SAP Mobile Server, the URL you use depends on whether relay server is installed on an IIS or apache host.

Requests to SAP Mobile Platform require valid transport credentials unless made over a SAP Mobile Platform protocol (Messaging-based synchronization and its Java implementation) or they explicitly request a public resource (indicated when a resource in the "public" context is requested). Each SAP Mobile Platform domain can authenticate requests by using a default security configuration. If a domain has no default security configuration defined, the default security configuration, "admin," is used to authenticate the request.

By explicitly setting the HTTP headers, you can override the domain used to resolve the targeted endpoint, as well as the security configuration used to authenticate a request. For more information, see HTTP Headers and Cookies.

The resource part of the URL corresponds to a proxy endpoint name (connection type PROXY). The SAP Mobile Platform Proxy component handles any request made towards a configured Proxy Connection Endpoint and later forwards the request to the URL specified in the connection template.