I have problem on checking equals between query string from url to request param name.
For example providing the status attribute in Postman
will be as below:
http:localhost:8080/foo?Status=COMPLETED
But the controller method has the following:
@GetMapping(value = "/foo")
@ResponseStatus(code = HttpStatus.OK)
public void getSomething(@RequestParam(name="status") Optional<Enum[]> status) {
//Something
}
Expected Solution: The param name provided in url should match the @RequestParam(name="status")
which is case sensitive.
Note: This is purely a Spring project (even no spring-web-mvc) - no usages of Spring Boot and Hibernate.