$url = "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20fantasysports.games%20where%20use_login%3D1%20and%20game_key%20in%20('238'%2C%20'223'%2C%20'mlb'%2C%20'nfl')&format=json&diagnostics=true&callback="; $response = wp_remote_get( $url, $args ); $body = wp_remote_retrieve_body( $response ); $response_code = wp_remote_retrieve_response_code( $response ); print_r( $response_code ); echo $response;