On Wednesday, 27 January 2016 at 23:50:34 UTC, Chris Wright wrote:
On Wed, 27 Jan 2016 23:42:54 +0000, brian wrote:
Body: vibe.stream.counting.EndCallbackInputStream Body to
String: Body to String: HTTP/1.1 302 Found
You got an HTTP redirect as a response. There should be a
header called Location containing a URL. Redo the request with
that URL.
Yup there was. However using that URL in place of the original
just returns the html for a login page in the response.
I wouldn't call myself an expert on all things API related so I'm
not sure if the error is my side or not. Do API authentications
usually access the same url as a normal login?
Most HTTP libraries give you an option to automatically follow
redirects, but vibe.d appears not to.