mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
add missing backslash for curl
This commit is contained in:
@@ -252,7 +252,7 @@ query({"question": "Hey, how are you?"}).then((response) => {
|
|||||||
} else if (codeLang === 'cURL') {
|
} else if (codeLang === 'cURL') {
|
||||||
return `curl ${baseURL}/api/v1/prediction/${dialogProps.chatflowid} \\
|
return `curl ${baseURL}/api/v1/prediction/${dialogProps.chatflowid} \\
|
||||||
-X POST \\
|
-X POST \\
|
||||||
-d '{"question": "Hey, how are you?"}'
|
-d '{"question": "Hey, how are you?"}' \\
|
||||||
-H "Authorization: Bearer ${selectedApiKey?.apiKey}"`
|
-H "Authorization: Bearer ${selectedApiKey?.apiKey}"`
|
||||||
} else if (codeLang === 'Embed') {
|
} else if (codeLang === 'Embed') {
|
||||||
return embedCode(dialogProps.chatflowid)
|
return embedCode(dialogProps.chatflowid)
|
||||||
|
|||||||
Reference in New Issue
Block a user