Herramientas de usuario

Herramientas del sitio


programacion:rest

REST API

crud

Create PUT with a new URI
POST to a base URI returning a newly created URI
Read GET
Update PUT with an existing URI
Delete DELETE

PUT can map to both Create and Update depending on the existence of the URI used with the PUT.

POST maps to Create.

Correction: POST can also map to Update although it's typically used for Create. POST can also be a partial update so we don't need the proposed PATCH method.

https://stackoverflow.com/questions/6203231/which-http-methods-match-up-to-which-crud-methods

tutorial

nombres de endpoint

programacion/rest.txt · Última modificación: 2017/06/30 08:00 por jherrero