use http.Client instead of curl for webhook test