diff --git a/web/app/components/develop/template/template_workflow.en.mdx b/web/app/components/develop/template/template_workflow.en.mdx index 806cf992e0..9580c2aa0b 100644 --- a/web/app/components/develop/template/template_workflow.en.mdx +++ b/web/app/components/develop/template/template_workflow.en.mdx @@ -213,7 +213,7 @@ Workflow applications offers non-session support and is ideal for translation, a --- ### Request Example - + ```bash {{ title: 'cURL' }} - curl -X POST '${props.appDetail.api_base_url}/workflows/:task_id/stop' \ + curl -X POST '${props.appDetail.api_base_url}/workflows/tasks/:task_id/stop' \ -H 'Authorization: Bearer {api_key}' \ -H 'Content-Type: application/json' \ --data-raw '{ diff --git a/web/app/components/develop/template/template_workflow.zh.mdx b/web/app/components/develop/template/template_workflow.zh.mdx index 090823c504..6264eb57e5 100644 --- a/web/app/components/develop/template/template_workflow.zh.mdx +++ b/web/app/components/develop/template/template_workflow.zh.mdx @@ -209,7 +209,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等 --- ### Request Example - + ```bash {{ title: 'cURL' }} - curl -X POST '${props.appDetail.api_base_url}/workflows/:task_id/stop' \ + curl -X POST '${props.appDetail.api_base_url}/workflows/tasks/:task_id/stop' \ -H 'Authorization: Bearer {api_key}' \ -H 'Content-Type: application/json' \ --data-raw '{