Quick way to learn ChatGPT API?

I’m new to building and in parallel to my own research asking here. What would you say is the best place or resources to understand working with APIs in general and the new Chat GPT API specifically?

the official docs are pretty good

👍Thanks @swizec , yeah had started reading them. Just though maybe there are other good resources.

I'd just jump into an API testing application like Postman or similar and start playing with it based on the docs.

If you haven't played with one before here is a cURL you can import into it to get you started -

curl --location --request POST '…' \
--header 'Authorization: Bearer <Your API Key>' \
--header 'Content-Type: application/json' \
--data-raw '{"model": "gpt-3.5-turbo",
{"role": "system", "content": "<A Message from the system explaining the APIs purpose>"},
{"role": "user", "content": "<Main content of your message>"}
"temperature": 1

@shashank thanks a lot. Will check out Postman.

No worries, let me know if you have any other questions.

Just get your hands dirty and play around with it :)

@rrmdp 👍that’s the plan. Just wanted to have an intro, but chat GPT main docs seem to be quite clear.

I think this is the best answer - I wrote a SwiftUI app yesterday and got to know many details of the APIs (of all OpenAI's models).