- Representational state transfer.
2004.
- It is URI, uniform resource identifier.
- The most common operations are GET, POST, PUT, PATCH, and DELETE.
- I'm not sure, but i think based on the data itself in API and the type of service also that provided by the API.
- like : /customers/1/orders/ , if i need the customers and will make the URI makes sense to the data requested by the user.
- When you make the client makes many requests to get a small amuont of data for each request (based on organizing the data in your API), this will make a load on your server and you have to aviod that. for sure it is bad thing.
- Status code 200
- Status code 404
- Status code 201
- Status code 204