Having cors error while searching post results based on title and search term in other application

In my application i have search bar where when user type something he will get posts as results from our discuss forum but its giving cors error after setting dicuss from other application host. Can anybody help what could be the solutions