mirror of https://github.com/FlowiseAI/Flowise.git
Merge pull request #145 from FlowiseAI/bugfix/Curl-Backslash
Bugfix/Add missing backslash for curlpull/147/head
commit
e61e32589b
|
|
@ -252,7 +252,7 @@ query({"question": "Hey, how are you?"}).then((response) => {
|
|||
} else if (codeLang === 'cURL') {
|
||||
return `curl ${baseURL}/api/v1/prediction/${dialogProps.chatflowid} \\
|
||||
-X POST \\
|
||||
-d '{"question": "Hey, how are you?"}'
|
||||
-d '{"question": "Hey, how are you?"}' \\
|
||||
-H "Authorization: Bearer ${selectedApiKey?.apiKey}"`
|
||||
} else if (codeLang === 'Embed') {
|
||||
return embedCode(dialogProps.chatflowid)
|
||||
|
|
|
|||
Loading…
Reference in New Issue