Use this tag for question about the REST architectural style used in Spring framework
I am new to angular and spring-security.I am having problem with CORS when trying to log in from angular …
java spring angular spring-restI am handling REST exceptions using @ControllerAdvice and ResponseEntityExceptionHandler in a spring Rest webservice. So far everything was working fine …
spring spring-mvc spring-restI have a sample spring rest mvc application which has the following java code: SampleController.java import org.apache.logging.…
java maven spring-restcontroller spring-restI'm just thinking, what is the best practice to create PATH mapping for rest service. Let's say we have following …
spring spring-boot spring-restcontroller spring-restI'm using spring RestTemplate for communication with a xml webservice backend as follows: ResponseEntity<MainDTO> dto = restTemplate.postForObject(…
java spring spring-restI want to create a custom Permission Evaluator in order to @PreAuthorize a REST Endpoint with a custom method. I …
java spring-boot spring-security spring-restI can't fetch JSONObject directly, this code works: RestTemplate restTemplate = new RestTemplate(); String str = restTemplate.getForObject("http://127.0.0.1:8888/books", String.class); …
spring resttemplate spring-restcontroller spring-restI wanted to learn non blocking REST, but first I wrote blocking controller for comparison. To my surprise Spring doesn't …
spring spring-mvc spring-restcontroller spring-restSo the current issue I am having is I am getting a Servlet.service() for servlet [dispatcherServlet] in context with …
java spring-boot spring-mvc spring-restI am trying to mock a POST method with MockRestServiceServer in the following way: MockRestServiceServer server = bindTo(restTemplate).build(); server.…
java spring spring-boot junit spring-rest