Hi, I am trying to add cors plugin in my route. When i consume it from postman, it return “Access-Control-Allow-Origin” but when my vue.js application try to consume the API. it returns an error like this
“has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”
I see the cors documentation from this https://docs.konghq.com/hub/kong-inc/cors/
And about limitation, for route registration i just post this as param request
{
“paths”: ["/api/v1/order"],
“name” : “order-route”,
“methods”: [“GET”,“POST”,“PUT”]
}
May any one help me to fix this, thanks
Help me please @hbagdi