Use wp_remote_retrieve_body() function to get the body, instead of direct accessing the result 'body' key.