Answer the question
In order to leave comments, you need to log in
The server does not accept the PATCH request, what could be the reasons?
There is a server (black box), on which the API accepts POST / GET / DELETE, but on PATCH I catch this error:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' localhost:8081 ' is therefore not allowed access. The response had HTTP status code 403.
Answer the question
In order to leave comments, you need to log in
Total your decision after debugging in our discussion:
endpoints.cors.allowed-methods=GET,POST,PUT,DELETE,OPTIONS
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question