yungwarlock / learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

learning

REST APIs

http://example.com/todos/1

Terms

Resource - the root url. The object that we're working with. Always in plural form

Object id - id of the item we're accessing

Verb - HTTP Verb that we're working with. (GET POST PUT PATCH DELETE)

Future

Methods -

Query string -

{
    "id": "ddjdjdhhjd",
    "name": "Bath"
}

CRUD

C - create (POST /todos)

R - read (GET /users/uche)

U - update (PUT /todos/1)

D - delete (DELETE /todos/1)

List - (GET /todos)

About


Languages

Language:JavaScript 100.0%