Hi
I am not a beginner. I wanted to create an app to post a message and get the result.
But with the POST block, the curl command -d
is not possible. I know we can send values through the URL but for this API the URL for every action is the same
Hi
I am not a beginner. I wanted to create an app to post a message and get the result.
But with the POST block, the curl command -d
is not possible. I know we can send values through the URL but for this API the URL for every action is the same
Hello @vishruth-ram!
Could you please share the curl you have?
And we can help you with the implementation.
curl \
-H 'Content-Type: application/json' \
-d '{ "prompt": { "text": "Write a story about a magic backpack"} }' \
"https://generativelanguage.googleapis.com/v1beta2/models/text-bison-001:generateText?key=YOUR_API_KEY"
yes
I tried with a get request.
On [postman, ok