Hi @ravidverve
If you go to the System Console -> Security -> Connections you'll find an option to Enable cross-origin requests from a domain, if you set that then CORS is enabled and preflight of ajax requests work as expected, if you're unsure what host to use then you can use *
but I don't recomend doing it that way.
If this solved your problem, can you be so kind to add a [SOLVED] in the thread title.
Thanks my friend