What is your understanding of what are restful web services?
Just like SOAP(Simple Object Access Protocol), which is used to develop we services by XML. Restful web services use web protocol (http). Important aspects of Restful:
- Resources
- Request Header
- Request Body
- Response Body
- Status Codes
Name the protocol which is used by Restful?
Restful web services uses famous web protocol i.e http. Http standard methods are used to access the resources in restful architecture. Http methods are POST, GET, PUT, DELETE. These corresponding to create, read, update, delete (CRUD) operations.
What is resource in restful?
Just like an Object, instance in Java. Resource is defined as an object of a type which can be an image, text file or html. Common resources are :
- JSON
- XML
- HTML
- YAML
- TEXT
What is caching in restful?
Caching means to be storing the server response in client itself, so that client need not to make a server request again.
Leave a comment