Allow certain delete APIs in spring cloud gateway

Viewed 25

In cloud gateway globalcors properties, i have added allowedMethods as GET, PUT and POST.

So, it blocks all the DELETE requests which are landing on the gateway.

I want it to allow certain DELETE API's even thought DELETE is not in one of allowedMethods.

Is there any possibility of achieving this by allowing only certain DELETE API's and blocking the rest

0 Answers
Related