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

    Options to configure the behavior when sending HTTP requests. For example, whether the CSRF token is fetched automatically.

    interface HttpRequestOptions {
        fetchCsrfToken?: boolean;
    }
    Index

    Properties

    Properties

    fetchCsrfToken?: boolean

    A boolean value that indicates whether to fetch the csrf token for a non-get request. For a get request, the csrf token is not fetched and this option is ignored. By default, the value is true.

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