Rest - Interview Questions and Answers for 'Hcl' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Rest - Interview Questions and Answers for 'Hcl' - 3 question(s) found - Order By Newest

Very frequently asked in companies using SOA.
  Q1. What are RESTful Web Services ?Rest
Ans. REST or Representational State Transfer is a flexible architecture style for creating web services that recommends the following guidelines -

1. http for client server communication,
2. XML / JSON as formatiing language ,
3. Simple URI as address for the services and,
4. stateless communication.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   web services   rest   java   j2ee  architecture     Asked in 14 Companies      intermediate        frequent


Related Questions

 What is the relationship between VPC and subnet ? Can you tell with an example ?
 Difference between GET and POST Requests ?
 What is cloud computing ?
 Why is cloud infrastructure so powerful ?
 There is a server which is 90% full, I need to increase the space. How can I do it ?
 What are the types of authentication used in Web services ?
 Why would a cloud customer use resources in multiple regions and zones ?
 What are system integrators in Cloud Computing?
  Which markup languages can be used in restful web services ?


  Q2. Difference between GET and POST Requests ?Web Service
Ans. GET is supposed to get information from the server. Client sends the minimal information so that Server can respond with the response body on basis of request. For example - You want to get complete employment record for employee id 123

POST is supposed to send the information for submission. Payload or a Body is usually sent so that it can be persisted on the server. For example - Sending the complete information of an employee ( id, name , dept etc ) to the server for persisting it.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     get vs post   web service   rest     Asked in 11 Companies      basic        frequent


Related Questions

  What are RESTful Web Services ?
 How can we restrict CloudFront access to a particular Geography ?
  What are the restrictions for the entity classes ?
 Why can't we create an instance of abstract class ? Why is it restricted by compiler ?
 In which cases using SOAP is preferred over REST ?
 What could be the reasons for restricting inheritance using final class ?
  What restrictions are placed on method overriding?
  If you have access to a function that returns a random integer from one to five, write another function which returns a random integer from one to seven.
  Which markup languages can be used in restful web services ?


Frequently asked question in companies using Rest Web services.
 Q3. Different between POST and PUT in Rest Rest
Ans. PUT requests are only meant to place the object as it is on server. For example - You want a file to be uploaded and then placed in a particular folder or you want an Employee object to be persisted in the table.

POST requests are also meant to transfer information from client to server but that information once received at the server is evaluated , modified or refactored before persisting.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Put vs Post   Rest     Asked in 5 Companies        frequent


Related Questions

 Should a Database Update Request be a POST or PUT Request in Rest
 Should a DB Insert Request be a POST or PUT request in Rest



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: