[ad_1]
To get my upcoming Node course with up to 90% discount, join my mailing list now. I’ll NOT spam you and you can unsubscribe at any time. When I publish my Node course, I’ll send you an email with a coupon to get the course with a big discount:
What are RESTful Services (RESTful APIs)?
by
Tags:
Comments
5 responses to “What are RESTful Services (RESTful APIs)?”
-
One thing that confuses me when designing REST APIs is searching.
In the legacy RPC world I'm used to finding a person would have a method FindPerson(Forename, Surname, DOB) just like calling a local method. The parameters are obvious, they're in the method call.
The response would be a List<Person>, or a List<PersonSearchResult> if you just want brief Person details to display in a search results grid without sending the full Person classes.In REST is it best to have a GET on /person with query params ?Forename=xxxx&Surname=xxxx&DOB=xxxxx
or
A POST to a /person/search. Posting a findPerson object with properties of Forename, Surname,DOB and returning List<Person> or List<PersonSearchResult> if you wanted the cut down details for grid display.
-
ty for nice explanation!
-
Hello Mosh, Great.
sent u a message but ye t to receive a response. Thanks. -
Mosh will this course be published on Udemy?
-
Hi mosh
Leave a Reply