feat: replace dev domain (#11)

* Update developing-with-apis.md

* Update developing-with-apis.md
pull/12/head
takatost 2023-08-25 21:41:12 +08:00 committed by GitHub
parent 5e16060687
commit 555382ce4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ You can find the API documentation and example requests for this application in
For example, here is a sample call an API for text generation:
```
curl --location --request POST 'https://api.dify.dev/v1/completion-messages' \
curl --location --request POST 'https://api.dify.ai/v1/completion-messages' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
@ -56,7 +56,7 @@ You can find the API documentation and example requests for this application in
For example, here is a sample call an API for chat-messages:
```
curl --location --request POST 'https://api.dify.dev/v1/chat-messages' \
curl --location --request POST 'https://api.dify.ai/v1/chat-messages' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{

View File

@ -34,7 +34,7 @@ Dify 基于“**后端即服务**”理念为所有应用提供了 API为 AI
例如,创建文本补全信息的 API 的调用示例:
```
curl --location --request POST 'https://api.dify.dev/v1/completion-messages' \
curl --location --request POST 'https://api.dify.ai/v1/completion-messages' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
@ -55,7 +55,7 @@ curl --location --request POST 'https://api.dify.dev/v1/completion-messages' \
例如,发送对话信息的 API的调用示例
```
curl --location --request POST 'https://api.dify.dev/v1/chat-messages' \
curl --location --request POST 'https://api.dify.ai/v1/chat-messages' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{