I have this simple code:
$theBody = wp_remote_retrieve_body( wp_remote_get('http://www.wordpress.org') );
print_r( $theBody );
die();
It is working, but instead of just echoing the source code it displays the page like as in iframe.
I guess I need to tell my script that I need to show it as a code and not generate the page.
How to do that?