I am getting an invalid json error when I was using variables so I hard coded the content as shown below. :Still receiving error, Same issue for gpt-3.5-turbo. I wasn't sure whether to use "messages=" or "messages:". I tried both.
{
"error": {
"message": "We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
