How To Display Content from a website on wordpress page?

Although CURL requests will work, you should use wp_remote_post() to do requests to external pages, especially if you are writing a plugin or theme. (Plugin review doesn’t like CURL requests; they will ask you to convert to wp_remote_post().

See https://codex.wordpress.org/Function_Reference/wp_remote_post . The return value includes the header and all content of the request. You can then parse that return value as needed.