Ok now after this two-week long detour about HTML and CSS itโs time to get back on track and work on things more directlly related to my AI business again!
Since Iโm recently working with APIs (for example VoiceFlow with AirTable) I thought it would be great to learn a tool where I can easily run tests related to that, and it appears to me (or ChatGPT said <kough kough>) that postman.com is the gold standard for this.
I found https://reqres.in/ a very useful resource to practice different API requests
My Learnings
- When intereacting with an API, testing a
GET
request first tends to be easiest, since the only mandatory parameter is the request (url) itself -
POST
are next in line. Usually theJSON
result from the get request can be slightly change and thePOST
works. If not, just copy paste in ChatGPT and then it should work. -
PATCH
is the safe way to update existing records, sincePUT
overrides everything.
And thatโs as far as I need to use it. I donโt have a use case for DELETE
but that would probably be easy to implement as well.
Anyways, happy API calling everyone ๐
Top comments (0)