Updating HttpUrl and httpClient for HTTP post and Get methods