serv00搭建的NewAPI已经会被拦截403了吗?
- 内容介绍
- 文章标签
- 相关推荐
怎么我搭建的Newapi明明curl能访问,codex就是会报403,nginx的锅吗?
curl -s -H "Authorization: Bearer sk-xxx" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.4","input":[{"role":"user","content":"test"}]}' \
https://x.serv00.net/v1/responses
{"id":"resp_0b470a625ca3f33b0169ccb4c10a688191b2e618671ac9fc5b","object":"response","created_at":1775023297,"status":"completed","background":false,"completed_at":1775023297,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"model":"gpt-5.4","output":[{"id":"msg_0b470a625ca3f33b0169ccb4c179048191a4463098508a07d6","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Hello! How can I help?"}],"phase":"final_answer","role":"assistant"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":"12c90f07-9377-4fcc-96cb-
怎么我搭建的Newapi明明curl能访问,codex就是会报403,nginx的锅吗?
curl -s -H "Authorization: Bearer sk-xxx" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.4","input":[{"role":"user","content":"test"}]}' \
https://x.serv00.net/v1/responses
{"id":"resp_0b470a625ca3f33b0169ccb4c10a688191b2e618671ac9fc5b","object":"response","created_at":1775023297,"status":"completed","background":false,"completed_at":1775023297,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"model":"gpt-5.4","output":[{"id":"msg_0b470a625ca3f33b0169ccb4c179048191a4463098508a07d6","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"Hello! How can I help?"}],"phase":"final_answer","role":"assistant"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":"12c90f07-9377-4fcc-96cb-

