Top "Restful-architecture" questions

REST (Representational State Transfer) is a style of software architecture for distributed hypermedia systems such as the World Wide Web.

What is the difference between resource and endpoint?

I have heard both "resource" and "endpoint" to refer to the same thing. It seems that resource is a newer …

rest api uri restful-architecture endpoint
Passing array in GET for a REST call

I have a url to fetch appointments for a user like this: /user/:userId/appointments How should the url look …

rest restful-url restful-architecture
When do I use path params vs. query params in a RESTful API?

I want to make my RESTful API very predictable. What is the best practice for deciding when to make a …

rest spring-mvc restful-url restful-architecture api-design
Call a Server-side Method on a Resource in a RESTful Way

Keep in mind I have a rudimentary understanding of REST. Let's say I have this URL: http://api.animals.com/…

api rest url api-design restful-architecture
Return the List<myObj> returned by ResponseEntity<List>

My REST client uses RestTemplate to obtain a List of objects. ResponseEntitiy<List> res = restTemplate.postForEntity(getUrl(), myDTO, …

java rest spring-mvc restful-architecture resttemplate
REST - When to use 400 ("Bad Request")

I have a resource like this sales/customers/{customerno}. If a client sends a PUT request to this resource I …

xml rest http-status-codes restful-architecture http-status-code-400
How can Socket.io and RESTFul work together?

(I'm not familiar to RESTFul, please correct me if my concept is wrong) In RESTFul architecture, we map every action …

node.js socket.io restful-architecture
How to pass Query String Parameters in GET url using Rest Assured?

How to pass Query String Parameters in GET url using Rest Assured? URL is: http://example.com/building My Query …

api automated-tests restful-architecture rest-assured web-api-testing
Should the PATCH method return all fields of the resource in the response body?

Should the PATCH method return all fields of the resource in the response body? Or should it return only updated …

rest http httprequest restful-architecture httpverbs
How to create a custom media type (application/vnd) for a RESTful web service?

I'm playing with REST right now and thought I properly implement HATEOAS just to get all concepts right. For that …

rest media restful-architecture hateoas hypermedia