python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
spring mock mvc perform post request body is missing : error 400
I try to mock a mvc request for testing end to end my controller in spring.
The post request needs a request body but I get an error 400 telling me that required request body is missing even though I ...

eln
Votes: 0
Answers: 3
How can I test gzip with mockMvc?
I'm testing spring boot compression property:
server.compression.enabled=true
I would like to validate that after sending a request with a header "Accept-Encoding":"gzip",
I would ...
Evandro
Votes: 0
Answers: 0
Getting 404 eror with Swager UI
I have non boot spring mvc application. When I hit the swagger-ui.html or swagger-ui/. I am getting the 404 error.
My config classes:
SpringFoxConfig:
@Configuration
@EnableSwagger2
public class Sprin...
Alex
Votes: 0
Answers: 1
Spring Boot oauth2 with local user database
I have implemented OIDC authentication in my Spring Boot web application by adding the spring-boot-starter-oauth2-client dependency and configuring OAuth2 client settings in application.properties.
In...
codeape
Votes: 0
Answers: 1