I couldn't work with HTTP Request Node 

as I know, HTTP requests for  API need to have a header, body 

but in cognigy HTTP request, I couldn't see the body section only the header was available 


as the HTTP request below the header is in BOLD and the body is in italic

POST /v1/completions HTTP/1.1
Host: api.openai.com
Content-Type: application/json
Authorization: Bearer sk-VJDy6++++++++++++++++++hiCope7
Content-Length: 218

  "model": "text-davinci-003",
  "prompt": "what is the capital of USA",
  "temperature": 0.9,
  "max_tokens": 150,
  "top_p": 1,
  "frequency_penalty": 0,
  "presence_penalty": 0.6,
  "stop": [" Human:", " AI:"]


the header I will put it in the header section in HTTP request node 

But where do I Have to enter the body ??

Didn't find what you were looking for?

New post
Was this post helpful?
1 out of 1 found this helpful


1 comment

  • 0

Please sign in to leave a comment.