on 2021 Dec 07 1:07 PM
Hello,
To keep the data synced in our server and the SAP Commerce shop, we would send an asynchronous request with the POST method from the server to the SAP commerce shop.
I have set up a controller to handle the requests sent from the server but when the request is sent via post method I get the below error
WARN [hybrisHTTP29] [DefaultHandlerExceptionResolver] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]
I have added the URL to the exclusion list in the config property csrf.allowed.url.patterns
The controller method is annotated with RequestMethod.POST
Please share your feedback to resolve this issue
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.