Errore CORS durante la ricerca dei risultati dei post in base al titolo e al termine di ricerca in un'altra applicazione

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