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.
|Java - Interview Questions and Answers|
|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|
|What are RESTful Web Services ?|
|How can we restrict CloudFront access to a particular Geography ?|
|What are the restrictions for the entity classes ?|
|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 ?|
|Why Web services use HTTP as the communication protocol ?|