debug sending http request