When the "Try It Out" function is used in the Developer Portal a CORS error is returned

When we tried to “Try It Out” the “GET” method using Dev Portal everything works fine. We do not get CORS error but when we tried the “POST” method it fails with CORS error. Can some please help. Thank you.

Regards,
Ramesh

@rsanvatsarkar - Please make sure the response of APIs include the CORS header Access-Control-Allow-Origin. There is a CORS plugin if Kong has to inject this, else downstream has to send this in HTTP header.

I am not sure why GET works for you. Check in the API response if the header is coming back.