use the http client interface instead on http interface