[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/common/http/withNoXsrfProtection [Back]  [Original]

withNoXsrfProtection Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/common/http

withNoXsrfProtection

function

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

provideHttpClient

On this page

    arrow_upward_alt Back to the top

    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.

    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page