DEV Community

Cover image for Daily Code 73 | 📯 Postman.com
Gregor Schafroth
Gregor Schafroth

Posted on

Daily Code 73 | 📯 Postman.com

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 the JSON result from the get request can be slightly change and the POST works. If not, just copy paste in ChatGPT and then it should work.
  • PATCH is the safe way to update existing records, since PUT 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 😄

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more