DEV Community

Cover image for Mastering the Art of REST APIs: A Complete Overview

Mastering the Art of REST APIs: A Complete Overview

Scofield Idehen on August 16, 2023

What is a REST API Suppose you have gone to a restaurant and who do you ask to bring you food or pay the bill or you want something in your food t...
Collapse
 
liyasthomas profile image
Liyas Thomas

This is very informative. Learned a lot about RESTful APIs.

I saw you're using Postman for testing APIs. If anyone like to spin up a RESTful API online - checkout Hoppscotch.io - helps to make requests directly from the browser.

GitHub logo hoppscotch / hoppscotch

👽 Open source API development ecosystem - https://hoppscotch.io

Collapse
 
scofieldidehen profile image
Scofield Idehen • Edited

Are you working on this?

Let me know ok!

Collapse
 
tijan_io profile image
Tijani Ayomide

You can also test your endpoint from your IDE using Postman new vscode extension... Check out my article here

Collapse
 
scofieldidehen profile image
Scofield Idehen

i will, thanks

Collapse
 
emmanuelkatto profile image
Emmanuel Katto

Amazing, very informative.

Collapse
 
jburky15 profile image
Joe Burkhart

Very nice job explaining REST APIs, I'm glad that you explained the difference between PUT and PATCH. I never actually knew the difference until now, so thank you for that.

Collapse
 
scofieldidehen profile image
Scofield Idehen

excited to know it helps. Thanks

Collapse
 
webjose profile image
José Pablo Ramírez Vargas

Read this to learn the practical differences between PUT and PATCH (upsert vs update), along with key concepts that every single article fail to mention.

Collapse
 
devdufutur profile image
Rudy Nappée

Actually PUT isn't only for update but for create or update in a idempotent way. You don't even need to know if your resource already exists but you can only use it if you already know the URL of the resource you want to create or update.

Collapse
 
iamcymentho profile image
Odumosu Matthew

This breakdown of REST APIs is brilliantly explained! 🌐 The analogy of a restaurant waiter as a medium between you and the server is spot on. Plus, the rundown of HTTP methods like GET, POST, PUT, and DELETE is super helpful for grasping the practicality. Kudos for making the technical concepts crystal clear

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Representational State Transfer If anyone wanted to know