我正在使用 ng2-file-upload 插件我需要将请求方法更改为 POST 但它的显示选项
public uploader: FileUploader = new FileUploader({
url: URL,
disableMultipart : false,
autoUpload: true,
method: 'post',
itemAlias: 'attachment',
allowedFileType: ['image', 'pdf']
});
请求 URL:http ://1.0.0.188:8080/Auto/upload/data/mandateupload 请求方法:OPTIONS 状态码:403 远程地址:10.44.1.7:8080 推荐人策略:no-referrer-when-downgrade