请求基础
请求头
Authorization、x-api-key、x-goog-api-key 和 Content-Type。
常用 Header
Prop
Type
常见写法
-H "Authorization: Bearer YOUR_USER_API_KEY" \
-H "Content-Type: application/json"-H "x-api-key: YOUR_USER_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json"-H "x-goog-api-key: YOUR_USER_API_KEY" \
-H "Content-Type: application/json"不要传什么
最后更新于