Configuring springboot for a single app page wasn’t easy. I thought to meet a standard problem when debugging an react embedded in a springboot application. I read all the the posted questions about the topic but still cannot fix the problem.
The url and post data sent via postman hit the debug points in the app controller method and the request is successfull. That’s fine. When the url rest api is fired from within the app in react by the browser, the debug point hit is the filter method which set the headers of the response, and nothing else. The controller method is not reached. That’s weird.
The url and data are the same in the two cases, postman and browser requests, why controller is not reached in the second case ? Looks like the problem is within the server responding differently depending on the context. What is strange too is that the response header “Allow” does not contain the method POST.
Thanks for your support in advance, Simon