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

interface HttpRequestOptions {
    fetchCsrfToken?: boolean;



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 Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.