• Overview
@angular/common/http

withNoXsrfProtection

function

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

API

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

withNoXsrfProtection

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

This feature is incompatible with the withXsrfConfiguration feature.

Description

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

This feature is incompatible with the withXsrfConfiguration feature.

Jump to details