headers = {"Content-Type": "application/json", "Token": "api.svc.internal"}
时间: 2023-09-08 10:16:38 浏览: 135
在给API发送请求时,需要使用正确的请求头(headers)信息。根据提供的引用内容,正确的请求头应包括"Content-Type"和"Token"字段。其中,"Content-Type"字段的值应为"application/json",表示请求的内容类型为JSON格式。而"Token"字段的值应为"api.svc.internal",表示API的身份验证令牌。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [node-express-realworld-conduit:中等博客的真实世界克隆](https://download.csdn.net/download/weixin_42134144/15003549)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [2.二进制部署K8s集群](https://blog.csdn.net/u012766780/article/details/124976998)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文