moderation
external_data_tool
Header | Value | Desc |
---|---|---|
Content-Type | application/json | The request content is in JSON format. |
Authorization | Bearer {api_key} | The API Key is transmitted as a token. You need to parse the api_key and verify if it matches the provided API Key to ensure API security. |
point=ping
, the API should return result=pong
, as follows:
POST https://fake-domain.com/api/dify/receive
http://127.0.0.1:8000/api/dify/receive
with the configured API Key ‘123456’.
https://177e-159-223-41-52.ngrok-free.app
, and use it as your public domain.http://127.0.0.1:8000/api/dify/receive
with https://177e-159-223-41-52.ngrok-free.app/api/dify/receive
.