title: 代理访问 OpenAI 接口示例 CURL
date: ‘2024-04-10 12:28:27’
categories:
- AI
updated: ‘2024-05-15 15:54:15’
permalink: /post/agent-visit-openai-interface-example-curl-zbioja.html
comments: true
toc: true—
1 2 3 4 5 6 7 8 9 10 11 12 13
| curl -X POST https://gateway.ai.cloudflare.com/v1/9c1001a32cac90822d5d3e51b2b828de2/api-openai/openai/chat/completions \ -H 'Authorization: Bearer sk-NtofMMZRFomGigKTalH0T3Bl4AbkFJGY3Rl6GnfjsDzXe3dP7j' \ -H 'Content-Type: application/json' \ -d ' { "model": "gpt-4", "messages": [ { "role": "user", "content": "ES 如何整合进 springboot,请给出尽可能详细的技术实现方案" } ] }'
|
Author:
Shenhuanjie
Permalink:
https://shenhuanjie.github.io/2026/05/09/46c87c319883/
License:
Copyright (c) 2024 CC-BY-NC-4.0 LICENSE
Slogan:
Do you believe in DESTINY?
💬 互动讨论
欢迎留下你的见解、疑问或心得,精选评论有机会获得积分奖励哦!
使用 GitHub 账号登录评论 · 了解 Utterances
发现错误或有建议?提交反馈