Problem with Api Call(formated as a json)

I’ve encountered while working on an integration project. Specifically, I’ve been using the OpenAI API, and I’ve received an error message mentioning that I might not be using my HTTP library correctly. I’m attaching a screenshot of the error message for your reference.

I would greatly appreciate it if anyone could provide some guidance or insights on how to address this issue and make sure my API calls are properly structured. Any assistance or recommendations would be of immense help.