Skip to content

    Remote Services

    Class cds.RemoteService is a service proxy class to consume remote services via different protocols, like OData or plain REST.

    cds.RemoteService class

    class cds.RemoteService extends cds.Service

    cds.RemoteService — Configuration

    CSRF-Token Handling

    If the remote system you want to consume requires it, you can enable the new CSRF-token handling of @sap-cloud-sdk/core via cds.env.features.fetch_csrf = true.

    More to Come

    This documentation is not complete yet, or the APIs are not released for general availability. There’s more to come in this place in upcoming releases.