http request needs debugging