Feb 23, 2012 Hello, i was in an dilemma, because i needed http authentification, but wanted to use the easy HttpUtils module instead more complicated HttpClient. But its easy to extend HttpUtils. Pass credentials to service and replace one line in file HttpUtilsService: Code: Copy 56: hc.Execute(req, task) with Code: Copy 56: If sUser <> "" Then 57: hc.ExecuteCredentials(req, task, sUser, sPass) 58: Else 59: hc.Execute(req, task) 60: End If Its so easy and works like a charm Maybe this is from common interest and an topic for the maintainer of HttpUtils? Greetings from Germany Last edited: Feb 23, 2012 Click to expand...
Hello, i was in an dilemma, because i needed http authentification, but wanted to use the easy HttpUtils module instead more complicated HttpClient. But its easy to extend HttpUtils. Pass credentials to service and replace one line in file HttpUtilsService: Code: Copy 56: hc.Execute(req, task) with Code: Copy 56: If sUser <> "" Then 57: hc.ExecuteCredentials(req, task, sUser, sPass) 58: Else 59: hc.Execute(req, task) 60: End If Its so easy and works like a charm Maybe this is from common interest and an topic for the maintainer of HttpUtils? Greetings from Germany