get_data modified to handle non-200 http_status responses.