The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Courses ▼▲
    • REST with Spring

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security ▼▲

      THE unique Spring Security education if you’re working with Java today

      • Learn Spring Security Core

        Focus on the Core of Spring Security 5

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 5

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • Guides ▼▲
    • Persistence

      The Persistence with Spring guides

    • REST

      The guides on building REST APIs with Spring

    • Security

      The Spring Security guides

  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

REST

REST web services are a very useful way of interacting with a server. Learn how to implement and manipulate a REST resource in Spring and other frameworks.

  • Swagger (12)
  • REST Query Language (8)
  • Spring MVC Basics (7)
  • Spring Data REST (6)

>> RESTful Microservices With RestExpress

>> Managing JWT With Auth0 java-jwt

>> REST vs. GraphQL vs. gRPC – Which API to Choose?

>> Access HTTPS REST Service Using Spring RestTemplate

>> Difference Between URI.create() and new URI()

>> Send Array as Part of x-www-form-urlencoded Using Postman

>> A Guide to Variables in Postman

>> Define an Array of Varying Types in OpenAPI

>> @ApiOperation vs @ApiResponse in Swagger

>> Setting Request Headers Using Feign

>> RequestLine with Feign Client

>> Exception Handling With Jersey

>> Hide a Request Field in Swagger API

>> Set List of Objects in Swagger API Response

>> Retrieve Original Message From Feign ErrorDecoder

>> GraphQL vs REST

>> Setting Example and Description with Swagger

>> Retrying Feign Calls

>> Generate PDF from Swagger API Documentation

>> Custom Validation with Swagger Codegen

>> CSRF With Stateless REST API

>> Format Swagger Text Descriptions

>> REST vs. gRPC

>> Swagger @Api Description Is Deprecated

>> HTTP PUT vs. POST in REST API

>> Should Logging Out Be a GET or POST?

>> CRUD Application With React and Spring Boot

>> Get All Endpoints in Spring Boot

>> Decode a JWT Token in Java

>> REST API: JAX-RS vs Spring

>> “HttpMessageNotWritableException: No converter found for return value of type”

>> File Upload With Open Feign

>> Setting a Request Timeout for a Spring REST API

>> Reading an HTTP Response Body as a String in Java

>> Hiding Endpoints From Swagger Documentation in Spring Boot

>> How to Turn Off Swagger-ui in Production

>> Spring RestTemplate Request/Response Logging

>> Proxies With RestTemplate

>> OpenAPI JSON Objects as Query Parameters

>> Rate Limiting a Spring API Using Bucket4j

>> Spring REST Docs vs OpenAPI

>> Swagger @ApiParam vs @ApiModelProperty

>> Asynchronous HTTP Programming with Play Framework

>> Introduction to Dropwizard

>> Handling URL Encoded Form Data in Spring REST

>> Documenting a Spring REST API Using OpenAPI 3.0

>> Best Practices for REST API Error Handling

>> Twelve-Factor Methodology in a Spring Boot Microservice

>> How to Compress Requests Using the Spring RestTemplate

>> Validating Lists in a Spring Controller

>> Spring WebClient vs. RestTemplate

>> A Guide to NanoHTTPD

>> Explore Jersey Request Parameters

>> RestTemplate Post Request with JSON

>> Spring WebClient Requests with Parameters

>> REST Assured Authentication

>> Spring Data Web Support

>> REST vs WebSockets

>> How to Read HTTP Headers in Spring REST Controllers

>> REST-assured Support for Spring MockMvc

>> Getting and Verifying Response Data with REST-assured

>> Introduction to RESTX

>> Customizing HTTP Endpoints in Spring Data REST

>> Request Method Not Supported (405) in Spring

>> Bean Validation in Jersey

>> Set a Response Body in JAX-RS

>> Test a REST API with curl

>> Spring REST and HAL Browser

>> Building a Microservice with Apache Meecrowave

>> Using AWS Lambda with API Gateway

>> Using Spring ResponseEntity to Manipulate the HTTP Response

>> Using Spring @ResponseStatus to Set HTTP Status Code

>> REST Query Language Over Multiple Tables with Querydsl Web Support

>> Spring Data REST Events with @RepositoryEventHandler

>> Introduction to Java Microservices with MSF4J

>> Creating REST Microservices with Javalin

>> Projections and Excerpts in Spring Data REST

>> The Spring @Controller and @RestController Annotations

>> JSON Schema Validation with REST-assured

>> Headers, Cookies and Parameters with REST-assured

>> REST-assured with Groovy

>> Introduction to ActiveWeb

>> A Guide to JavaLite – Building a RESTful CRUD application

>> Introduction to VRaptor in Java

>> REST API Testing with Karate

>> Introduction to Spring REST Shell

>> JIRA REST API Integration

>> Guide to LinkRest

>> Spring’s RequestBody and ResponseBody Annotations

>> Generate Spring Boot REST Client with Swagger

>> Integrating Retrofit with RxJava

>> Introduction to Bootique

>> REST Query Language – Implementing OR Operation

>> Introduction to Vert.x

>> HTTP PUT vs HTTP PATCH in a REST API

>> AngularJS CRUD Application with Spring Data REST

>> Working with Relationships in Spring Data REST

>> Quick Intro to Full-Text Search with ElasticSearch

>> JAX-RS Client with Jersey

>> Spring @RequestMapping New Shortcut Annotations

>> REST API with Jersey and Spring

>> Building an API With the Spark Java Framework

>> A Custom Media Type for a Spring REST API

>> Guide to Spring Session

>> Apache CXF Support for RESTful Web Services

>> REST API with Play Framework in Java

>> Routing In Play Applications in Java

>> Guide to Spring Data REST Validators

>> A Guide to Spring Cloud Netflix – Hystrix

>> Pagination with Spring REST and AngularJS table

>> Quick Guide to Spring Controllers

>> Spring JSON-P with Jackson

>> A Guide to REST-assured

>> Binary Data Formats in a Spring REST API

>> Spring REST API with Protocol Buffers

>> A Quick Guide to Spring MVC Matrix Variables

>> Introduction to WireMock

>> REST API Testing with Cucumber

>> Introduction to Spring REST Docs

>> An Intro to Spring HATEOAS

>> Introduction to Spring Data REST

>> Spring MVC Content Negotiation

>> RESTEasy Client API

>> Define Custom RAML Properties Using Annotations

>> A Guide to RESTEasy

>> Modular RAML Using Includes, Libraries, Overlays and Extensions

>> Spring REST with a Zuul Proxy

>> Custom Error Message Handling for REST API

>> Eliminate Redundancies in RAML with Resource Types and Traits

>> Setting Up Swagger 2 with a Spring REST API Using Springfox

>> Introduction to RAML – The RESTful API Modeling Language

>> REST Query Language with Querydsl Web Support

>> Sixth Round of Improvements to the Reddit Application

>> Simple AngularJS Front-End for a REST API

>> JSON API in a Spring Application

>> Fifth Round of Improvements to the Reddit Application

>> Apply CQRS to a Spring REST API

>> Fourth Round of Improvements to the Reddit Application

>> Preserve the History of Reddit Post Submissions

>> Entity To DTO Conversion for a Spring REST API

>> Third Round of Improvements to the Reddit Application

>> Adding Roles and Privileges To the Reddit App

>> Testing the API of the Reddit App

>> Decoupling Registration from Login in the Reddit App

>> Displaying Dates in the Timezone of the User

>> A User Profile in the Reddit App

>> Second Round of Improvements to the Reddit Application

>> Retry to Submit to Reddit a Post Without Enough Traction

>> Rate Limiting Access to the Reddit API

>> First Round of Improvements to the Reddit Application

>> Building a REST Query Language

>> REST Query Language with RSQL

>> Metrics for your Spring REST API

>> The Registration API becomes RESTful

>> Post a Link to the Reddit API

>> REST Query Language – Advanced Search Operations

>> REST Query Language with Spring Data JPA and Querydsl

>> REST Query Language with Spring Data JPA Specifications

>> REST Query Language with Spring and JPA Criteria

>> Build a REST API with Spring and Java Config

>> Creating a Web Application with Spring 5

>> Error Handling for REST with Spring

>> HttpSessionListener Example – Monitoring

>> Versioning a REST API

>> Java Session Timeout

>> Tweeting StackExchange Questions with Spring Social

>> Testing REST with multiple MIME types

>> ETags for REST with Spring

>> REST Pagination in Spring

>> REST with Spring Tutorial

>> Basic and Digest Authentication for a REST Service with Spring Security

>> HATEOAS for a Spring REST Service

>> REST API Discoverability and HATEOAS

>> Test a REST API with Java

  • ↑ Back to Top
res – REST with Spring (eBook) (cat=REST/Spring MVC)
opt-in
Building a REST API with Spring 5?
Download the E-book
The Baeldung logo

Courses

  • All Courses
  • All Bulk Courses
  • All Bulk Team Courses
  • The Courses Platform

Series

  • Java “Back to Basics” Tutorial
  • Jackson JSON Tutorial
  • Apache HttpClient Tutorial
  • REST with Spring Tutorial
  • Spring Persistence Tutorial
  • Security with Spring
  • Spring Reactive Tutorials

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Jobs
  • Our Partners
  • Partner with Baeldung
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo