• 개요
@angular/common/http

withJsonpSupport

함수
사용 중단 권고v22.1부터

Add JSONP support to the configuration of the current HttpClient instance.

사용 중단을 권고합니다.

JSONP is deprecated as it can cause XSS vulnerabilities. Use standard HTTP requests instead. Intent to remove in future versions of Angular.

API

function withJsonpSupport(): HttpFeature<HttpFeatureKind.JsonpSupport>;
@deprecated

JSONP is deprecated as it can cause XSS vulnerabilities. Use standard HTTP requests instead. Intent to remove in future versions of Angular.

상세 내용으로 이동