Intro to RESTful Routes

q
Mar 8, 2021

REST

REST stands for “representational state transfer”, this is simply a standard way web applications structure URLs. This convention allows for easier inter-application communication. It is a way of mapping HTTP requests to CRUD functionalities.

Routes

Routes are what are responsible for fielding requests, interpreting them and deciding what to send in response.

CRUD

CRUD stands for Create, Read, Update and Destroy. When RESTful convention, CRUD corresponds to the HTTP methods POST, GET, PUT and DELETE respectively.

7 RESTful routes

RESTful routing is an architectural style for defining our routes, by following it’s pattern you don’t have to spend as much time with configuration and focus on the app itself.

  • Restular is a great cheatsheet resource if you are still getting used to routing syntax.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response