SAP Cloud SDK for JavaScript - v4.1.1
    Preparing search index...

    Options for middleware to fetch CSRF tokens.

    interface CsrfMiddlewareOptions {
        method?: Method;
        middleware?: HttpMiddleware[];
        url?: string;
    }
    Index

    Properties

    method?: Method

    Method used for the token fetching. Default is head.

    middleware?: HttpMiddleware[]

    Middlewares added to the token retrieval request.

    url?: string

    URL used for the token fetching. Default is the resource path without parameters.

    Copyright Ⓒ 2025 SAP SE or an SAP affiliate company. All rights reserved.