Need Assistance?

support@tutorialshub.in

Routing Fundamentals

Basic HTTP Routes (GET, POST, PUT, DELETE)

ADVERTISEMENT
Express.js Free Lesson
5 min read
ADVERTISEMENT

Routing determines how an application responds to a client request at a specific URI (path) and HTTP method. Express provides methods corresponding to every HTTP verb: app.get(), app.post(), app.put(), app.patch(), and app.delete().

Common HTTP Verbs

  • GET: Retrieve data without modifying anything.
  • POST: Create a new resource.
  • PUT / PATCH: Replace or partially update an existing resource.
  • DELETE: Remove a resource.
ADVERTISEMENT
Hi, I'm Tuby! Here to help you