Hello,
How can i send a POST Request to an API when using a lookup table?
Idea is to simulate this request in a lookup table. I checked HTTP Json Path but it seems it does not support POST and BODY PARAMs.
API_KEY="YOUR_API_KEY"
curl -X POST \
-H 'Content-Type: application/json' \
-H "x-goog-api-key: ${API_KEY}" \
-d '{
"contents": [
{
"role": "user",
"parts": [
{ "text": "What is the weather like in London today?" }
]
}
]
}' "https://generativelanguage.googleapis.com/v1/models/gemini-pro:generateContent"
Thank you