This work is produced by John Häggerud for the course 1DV527 at Linnaeus University.
All content in this work excluding photographs, icons, picture of course literature and Linnaeus University logotype and symbol, is licensed under a
Creative Commons Attribution 4.0 International License.
If you change the content do not use the photographs, icons, picture of the course literature or Linnaeus University logotype and symbol in your new work!
At all times you must give credit to: ”Linnaeus university – Server-based Web Programming (1DV023/1DV523)” with the link https://coursepress.lnu.se/kurs/serverbaserad-webbprogrammering/ and to the Creative Common-license above.
GET http://www.example.com/users Accept: application/json POST http://www.example.com/users Accept: application/json 201 Created Content-type: application/json { "_self": "http://example.com/users/123" "name": "John", "username": "thajo", "result": "10"} PUT http://www.example.com/users/123 Content-type: application/json {"name": "John", "username": "thajo", "result": "20"} PATCH http://www.example.com/users/123 Content-type: application/json {"result": "30"} DELETE http://www.example.com/users/123 204 No content