use http request to ping