Dec 8, 2021
In my Spring Boot 2.5 application, the sample code produced an HTTP error 400. Replacing "@RequestParam" with "@PathVariable" fixed it.
In my Spring Boot 2.5 application, the sample code produced an HTTP error 400. Replacing "@RequestParam" with "@PathVariable" fixed it.
Karsten Silz is a full-stack web & mobile developer with 23 years of Java experience, author, speaker, and contractor.