REST APIs Tutorials:

How to set JSON property name in JavaHow to set JSON property name in Java
Code examples of using @JsonProperty to set custom property names in JSON object. Applied in Java Spring projects that use Jackson library.
Published:  29 June 2023    Views: 361,185    0 comments
 
JSON Ignore Field in Response with Jackson @JsonIgnore AnnotationJSON Ignore Field in Response with Jackson @JsonIgnore Annotation
Code examples of using @JsonIgnore annotation to ignore some fields in JSON response. Applied in Java Spring projects that use Jackson library.
Published:  28 June 2023    Views: 113,793    0 comments
 
JSON Fields Order using Jackson @JsonPropertyOrder ExamplesJSON Fields Order using Jackson @JsonPropertyOrder Examples
Code examples using @JsonPropertyOrder to sort fields in a JSON object with Jackson library
Published:  25 April 2023    Views: 26,676    0 comments
 
How to Use curl for Testing REST APIs (Test CRUD Operations)How to Use curl for Testing REST APIs (Test CRUD Operations)
How to test REST APIs in command line/terminal using curl command and its options. curl examples for testing CRUD REST APIs.
Published:  03 September 2022    Views: 15,792    0 comments
 
REST API Best Practices: How to Use the Right HTTP Methods and Status CodesREST API Best Practices: How to Use the Right HTTP Methods and Status Codes
REST API best practices: how to use the correct HTTP methods and status codes in your APIs
Published:  16 June 2022    Views: 5,517    0 comments
 
How to Use Postman for Testing REST APIs (Test CRUD Operations)How to Use Postman for Testing REST APIs (Test CRUD Operations)
A beginner guide to REST APIs testing using Postman - Test CRUD APIs (Create, Retrieve, Update and Delete).
Published:  27 September 2022    Views: 4,075    0 comments
 
REST API with Spring: How to Prettify JSON OutputREST API with Spring: How to Prettify JSON Output
How to format JSON output in API response with Spring MVC and Jackson library. Prettify JSON with proper indentation.
Published:  20 September 2023    Views: 2,461    0 comments
 
Spring Authorization Server Example with OAuth 2 Client Credentials and In-memory UsersSpring Authorization Server Example with OAuth 2 Client Credentials and In-memory Users
Guide to implement Spring authorization server with OAuth2 client credentials grant type and in-memory clients (users) with Java code examples. REST clients then call the authorization server to obtain new access tokens to access protected APIs and resources.
Published:  12 February 2025    Views: 1,399    0 comments
 
Spring Authorization Server Example with OAuth 2 Client Credentials Grant Type and Database UsersSpring Authorization Server Example with OAuth 2 Client Credentials Grant Type and Database Users
Code examples to implement an authorization server with persistent client credentials using Spring Security OAuth2 Authorization Server library. The client credentials are stored in a relational database (MySQL).
Published:  04 April 2025    Views: 1,274    0 comments
 
How to Customize Access Token Generation in Spring Authorization ServerHow to Customize Access Token Generation in Spring Authorization Server
Code examples about modifying the JWT access tokens generated by Spring authorization server, including add, update and remove claims.
Published:  21 March 2025    Views: 1,057    0 comments