Top "Rest" questions

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

What's an appropriate HTTP status code to return by a REST API service for a validation failure?

I'm currently returning 401 Unauthorized whenever I encounter a validation failure in my Django/Piston based REST API application. Having had …

validation rest http-status-codes
Jersey client: How to add a list as query parameter

I'm creating a Jersey client for a GET service that has a List as query parameter. According to the documentation, …

java rest jersey
REST API 404: Bad URI, or Missing Resource?

I'm building a REST API, but I've encountered a problem. It seems that accepted practice in designing a REST API …

web-services http rest
Powershell v3 Invoke-WebRequest HTTPS error

Using Powershell v3's Invoke-WebRequest and Invoke-RestMethod I have succesfully used the POST method to post a json file to …

.net rest powershell https
Secure Web Services: REST over HTTPS vs SOAP + WS-Security. Which is better?

I'm not a security expert by any means, but I favor creating REST-style web services. In creating a new service …

web-services security rest soap
Spring RestTemplate timeout

I would like to set the connection timeouts for a rest service used by my web application. I'm using Spring's …

spring rest timeout resttemplate
what's the correct way to send a file from REST web service to client?

I've just started to develop REST services, but I've come across a difficult situation: sending files from my REST service …

java json web-services rest jersey
How do I retrieve query parameters in Spring Boot?

I am developing a project using Spring Boot. I've a controller which accepts GET requests. Currently I'm accepting requests to …

java rest spring-boot
How to solve maven 2.6 resource plugin dependency?

ERROR: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be …

java eclipse rest maven m2eclipse
Should a RESTful 'PUT' operation return something

I was wondering what people's opinions are of a RESTful PUT operation that returns nothing (null) in the response body.

resources rest service put