REST APIs use HTTP methods for operations:
- GET /users - List users
- POST /users - Create user
- GET /users/1 - Get specific user
- PUT /users/1 - Update user
- DELETE /users/1 - Delete user
You've used fetch to call APIs. Now you can build them.
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Standard web communication
REST APIs use HTTP methods for operations:
You've used fetch to call APIs. Now you can build them.