W3cubDocs

/Angular

withNoXsrfProtection

function

Disables XSRF protection in the configuration of the current HttpClient instance.

See more...

withNoXsrfProtection(): HttpFeature<HttpFeatureKind.NoXsrfProtection>

Parameters

There are no parameters.

Returns

HttpFeature<HttpFeatureKind.NoXsrfProtection>

See also

Description

This feature is incompatible with the withXsrfConfiguration feature.

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/http/withNoXsrfProtection