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.

--

--