I have to make authenticated get requests, and I am having issues using HTTP.jl. I am getting an authentication error. In the Python Requests package I would programmatically login and then pass my requests like:
Thank you for the detailed response! I do have http.jl version 0.8.0 and am receiving an error when I try and use the cookies = true argument. From a high-level perspective, once I log in I receive a sessionID (token) for my session that must be passed on each subsequent transaction. So, can i just use the default cookie jar? Or said another way, will this library keep track of these cookies for me and pass them back on each HTTP.request, or will I need to manually set the cookies via the following command?
If the server returns a Set-Cookieheader, like in your original post, you should just be able to just use the default cookie jar, but you do need to enable cookie support on each request with cookies = true (or the workaround above in v0.8.0).