How would you go about creating a get rest service if it requires multitude of params or inputs ?
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

   



Interview Questions and Answers

 Q1. How would you go about creating a get rest service if it requires multitude of params or inputs ?Rest
Ans. If the number of input values is large, we can go about passing them as query params instead of path params. If the number is even larger and complex , its better to create a post service that behaves like a get service. Though this practice is not recommended but technically it can be accomplished.I dont mind doing it if the exceptionally large number of input would make it much more confusing.

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

   Like         Discuss         Correct / Improve     rest  restful web services


Related Questions

  What are RESTful Web Services ?
 Difference between GET and POST Requests ?
 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 ?



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: