ChatGPT API Workout 001 - Postman HTTP Request

Estimated difficulty level:
Untitled (2)

In this first workout, we will start with a very simple one.

We will set up an API Key on OpenAI and try to connect to it using Postman.

The objective is to create a Postman HTTP request where you can get a response from OpenAI for a simple prompt (”Say this is a test”). This is the first step to creating any applications with OpenAI.

Untitled (1)

Please submit your solution in by taking a screenshot of your Postman script.

Enjoy! Let me know if you have any questions.

Henry

3 Likes

Here are the Headers and Body in Postman. Ensure you make the request a POST request.

Best,
Henry

1 Like

@henry.habib,

Thank you for putting this together. My responses below:

Header

Body

image

Result

image