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

Hierarchy

  • HttpRequestOptions

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