Back to Blog Home

REST API Interview Questions

Sanya Malhotra| Interview | 6 months, 2 weeks



 

What is REST ?

Representational State Transfer (REST) is an architectural style that defines a set of constraints and properties based on HTTP. Web Services that conform to the REST architectural style, or RESTful web services, provide interoperability between computer systems on the Internet. REST-compliant web services allow the requesting systems to access and manipulate textual representations of web resources by using a uniform and predefined set of stateless operations. Other kinds of web services, such as SOAP web services, expose their own arbitrary sets of operations.

 

 

Explain The RESTFul Web Service?

There are two kinds of Web Services which are quite popular.

1. SOAP (Simple Object Access Protocol) which is an XML-based way to expose web services.

2. Web services developed using REST style are known as RESTful web services. These web services use HTTP methods to implement the concept of REST architecture. A RESTful web service usually defines a URI, Uniform Resource Identifier a service, provides resource representation such as JSON and set of HTTP Methods.

 

 

What is Payload In RESTFul Web Service?

Request body of every HTTP message includes request data known as Payload. This part of the message is of interest to the recipient

 



Join 1000+ People Who Subscribe to Weekly Blog Updates

Back to Blog Home