Top "Rest" 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 HTTP and REST?

After reading a lot about the differences between REST and SOAP, I got the impression that REST is just another …

http rest
How to get access to HTTP header information in Spring MVC REST controller?

I am new to web programming in general, especially in Java, so I just learned what a header and body …

spring rest http spring-mvc request-headers
How to set base url for rest in spring boot?

I'm trying to to mix mvc and rest in a single spring boot project. I want to set base path …

java spring rest spring-boot spring-mvc
Hyphen, underscore, or camelCase as word delimiter in URIs?

I'm designing an HTTP-based API for an intranet app. I realize it's a pretty small concern in the grand scheme …

api url rest uri restful-url
Make REST API call in Swift

I'm trying to use Swift to make a GET call to a REST API, and have tried to follow numerous …

ios swift rest api http
Are there any naming convention guidelines for REST APIs?

When creating REST APIs, are there any guidelines or defacto standards for naming conventions within the API (eg: URL endpoint …

api rest naming-conventions
Flask example with POST

Suppose the following route which accesses an xml file to replace the text of a specific tag with a given …

python rest flask lxml
download a file from Spring boot rest service

I am trying to download a file from a Spring boot rest service. @RequestMapping(path="/downloadFile",method=RequestMethod.GET) @Consumes(…

java spring rest
JAX-RS / Jersey how to customize error handling?

I'm learning JAX-RS (aka, JSR-311) using Jersey. I've successfuly created a Root Resource and am playing around with parameters: @Path("/…

java rest error-handling jersey jax-rs
REST API using POST instead of GET

Let's assume a service offers some funcionality that I can use like this: GET /service/function?param1=value1&param2=…

api rest post get