header 参数
参考文章;
| params | explanation | example |
|---|---|---|
| Content-Type | 请求的与实体对应的MIME信息 | 'application/json-patch+json', 'application/json', 'text/json', 'application/_*+json' |
| Accept | 指定客户端能够接收的内容类型 | text/plain, text/html,application/json |
responseType
参考文章;
| params | explanation | example |
|---|---|---|
| Content-Type | 请求的与实体对应的MIME信息 | 'application/json-patch+json', 'application/json', 'text/json', 'application/_*+json' |
| Accept | 指定客户端能够接收的内容类型 | text/plain, text/html,application/json |
responseType