I am facing issue with api request and cors errors when hitting api can you suggest me the right source to follow.
You’ll need to say more about what you’re trying to do and your you’re trying to do it. Maybe see How to reverse engineer the Discourse API.
Are you doing this in the browser? Are you using Discourse connect?