Skip to content

Commit 6f2fff6

Browse files
committed
Added spring boot XML API
1 parent b4cd6ea commit 6f2fff6

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

spring-boot-movies-xml-api/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
readme.md
21
.gradle
32
build/
43
!gradle/wrapper/gradle-wrapper.jar
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Handling XML Request and Response in Spring Boot REST
2+
3+
This article explains how to handle XML Request and Response in Spring Boot REST APIs using `jackson-dataformat-xml` library.
4+
5+
In the course of this post, we will create a `MoviesController` and expose set of RESTful API endpoints to perform database CRUD operations.
6+
7+
- It has get 3 controller methods; two GET endpoints that returns the movies data
8+
- A POST endpoint that ads a new movie into the database
9+
- By default, the controller class will accept the JSON request and produces the JSON response.
10+
11+
Read the complete step-by-step guide on [stacktips.com](https://stacktips.com/articles/handling-xml-request-and-response-in-spring-boot-rest)
12+
13+
14+
### Related topics:
15+
16+
* [#spring-boot](https://stacktips.com/topics/spring-boot)
17+
* [#android](https://stacktips.com/topics/android)
18+
* [#java](https://stacktips.com/topics/java)
19+
* [#python](https://stacktips.com/topics/python)
20+
* [#spring](https://stacktips.com/topics/spring)
21+
* [#design-pattern](https://stacktips.com/topics/design-pattern)
22+
* [#git](https://stacktips.com/topics/git)
23+
* [#maven](https://stacktips.com/topics/maven)
24+

0 commit comments

Comments
 (0)