W3cubDocs

/Angular

withNoXsrfProtection

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

API

function withNoXsrfProtection(): HttpFeature<HttpFeatureKind.NoXsrfProtection>;

Description

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

This feature is incompatible with the withXsrfConfiguration feature.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/common/http/withNoXsrfProtection