RESTful Routes in Rails
13-May-2021 1218
Routes are how requests, through URL and HTTP method, are directed to code that handles the routes. RESTful, Representation State Transfer, routes is a more structured way of defining how our routes work. RESTful routes provide mapping between HTTP verbs, controller actions, and CRUD operations in a database. CRUD represents an acronym for the database operations Create, Read, Update, and Delete (or Destroy). The controller actions, or CRUD, respond to the HTTP verbs, which are GET, POST, PUT and DELETE, as seen in the table below.
RESTful Routes in Rails #ruby #rubydeveloper #rubyonrails #RESTful #Routes #Rails #restful https://rubyonrails.ba/link/restful-routes-in-rails