Hi
My RAML document reside in different domain then my console. Added following entry in my nginx configuration…
location ~ .(ttf|ttc|otf|eot|woff|font.css|css|js|gif|png|html)$ {
expires 6h;
add_header Pragma public;
add_header Cache-Control “public”;
add_header Access-Control-Allow-Origin “*”;
add_header Access-Control-Allow-Methods: POST,GET,PUT,DELETE;
}
my request header is showing me as a OPTION rather than POST method… I don’t get any response from my api. what other changes I should make to resolve CORS issue ?
Thanks