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

      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 6

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 6

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • Java Courses ▼▲
    • Learn JUnit

      Master the most popular Java testing framework.

    • Learn Maven

      Simplify Your Build with Apache Maven

    • Learn Hibernate JPA

      Master persistence with the Java specification and Hibernate implementation

    • Learn Mockito

      Enhance your unit tests through practical mocking

  • Pricing
  • 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 Basics

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 (18)
  • OpenAPI (14)
  • x REST Basics (14)
  • RestTemplate (9)
  • REST Query Language (9)
  • REST Assured (8)
  • Spring MVC Basics (7)
  • HTTP Post (6)
  • Spring Data REST (6)

>> Introduction to Spring Data REST

  • reference

>> A Guide to RestClient in Spring Boot

  • popular

>> Spring WebClient vs. RestTemplate

  • popular

>> RestTemplate Post Request with JSON

  • popular

>> How to Read HTTP Headers in Spring REST Controllers

  • popular

>> Build a REST API with Spring and Java Config

  • popular

>> Difference Between exchange(), postForEntity(), and execute() in RestTemplate

>> REST vs. gRPC

>> HTTP PUT vs. POST in REST API

>> REST API: JAX-RS vs Spring

>> Handling URL Encoded Form Data in Spring REST

>> REST vs WebSockets

>> HTTP PUT vs HTTP PATCH in a REST API

>> Test a REST API with Java

Course – LSSO – NPI EA (tag = OAuth)
LSSO Course Banner
The Baeldung logo

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • The Courses Platform

Series

  • Java “Back to Basics” Tutorial
  • Learn Spring Boot Series
  • Spring Tutorial
  • Get Started with Java
  • All About String in Java
  • Security with Spring
  • Java Collections

About

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