skip to Main Content

Does @DeleteMapping work with Spring Boot?

why is the DELETE query not working for me. @DeleteMapping("/delete") public String deleteUser(@RequestParam("userId") long id) { userService.deleteUser(id); return "redirect:/"; } There is a form for this mapping, but it returns me the Request method 'GET' is not supported. <form th:object="${users}">…

VIEW QUESTION

Postgresql – Spring-boot testcontainers in 3.1 for specific version of Postgres

The new release of spring-boot 3.1 added support for managing testcontainers when running your app in development: https://docs.spring.io/spring-boot/docs/3.1.0-SNAPSHOT/reference/html/features.html#features.testing.testcontainers.at-development-time. I'm attempting to get it to work with the specific postgres version I'm using for my project, but I'm running into issues.…

VIEW QUESTION
Back To Top
Search