cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Commerce - Request method 'POST' not supported

richard_green
Explorer
0 Kudos
685

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

Accepted Solutions (0)

Answers (0)