J jamesnz Active Member Licensed User Longtime User Mar 20, 2014 #1 a web api I am trying to work with requires the username and password to be passed in the http headers like so : username: Your API Username password: Your API Password How do I modify the headers with httputils2 ?
a web api I am trying to work with requires the username and password to be passed in the http headers like so : username: Your API Username password: Your API Password How do I modify the headers with httputils2 ?
Erel B4X founder Staff member Licensed User Longtime User Mar 20, 2014 #2 Make sure that HTTP library is referenced. You can then set the headers with: Code: Copy Job.Download(...) Job.GetRequest.SetHeader("username", ...) Job.GetRequest.SetHeader("password", ...) Upvote 0
Make sure that HTTP library is referenced. You can then set the headers with: Code: Copy Job.Download(...) Job.GetRequest.SetHeader("username", ...) Job.GetRequest.SetHeader("password", ...)
J jamesnz Active Member Licensed User Longtime User Mar 21, 2014 #3 Erel said: Make sure that HTTP library is referenced. You can then set the headers with: Code: Copy Job.Download(...) Job.GetRequest.SetHeader("username", ...) Job.GetRequest.SetHeader("password", ...) Click to expand... thankyou Erel. Upvote 0
Erel said: Make sure that HTTP library is referenced. You can then set the headers with: Code: Copy Job.Download(...) Job.GetRequest.SetHeader("username", ...) Job.GetRequest.SetHeader("password", ...) Click to expand... thankyou Erel.