https://www.baeldung.com/spring-mvc-content-negotiation-json-xml
Spring MVC Content Negotiation | Baeldung
A guide to configuring content negotiation in a Spring MVC application and on enabling and disabling the various available strategies.
www.baeldung.com
How to force springboot return Json response with global settings
Here are problems. They who are testing my application told me that when they trying to directly input the url into address to query a GET url by chrome. My api will always return a XML formatted
stackoverflow.com
https://stackoverflow.com/questions/66417840/spring-apis-returning-xml-instead-of-json
Spring APIs returning XML instead of JSON
I have two spring boot projects - A(Main larger project with APIs) and B(a library which is imported by A as a dependency in pom.xml) pom.xml of project B: <?xml version="1.0" encoding...
stackoverflow.com
'spring-boot' 카테고리의 다른 글
http connection timeout 늘리기 (0) | 2023.11.13 |
---|---|
Embed Tomcat 로그 중 Cookie 관련 오류 해결 - legacycookieprocessor (0) | 2023.08.11 |
빈 등록/삭제 (0) | 2023.07.26 |
Shutdown a Spring Boot Application (0) | 2023.07.19 |
spring boot graceful timeout (0) | 2023.06.19 |