[include-url href=”http://www.slimmemobiliteit.nl” allow-file=”2″]
wp_remote_get( ‘http://www.example.com/index.php?action=foo’, array( ‘timeout’ => 120, ‘httpversion’ => ‘1.1’ ) );
$response = wp_remote_get( ‘http://slimmemobiliteit.nl/’ );
if ( is_array( $response ) ) {
$header = $response[‘headers’]; // array of http header lines
$body = $response[‘body’]; // use the content
}