Getting the body of a HTTP Request
Chris Wright via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jan 27 18:34:43 PST 2016
On Thu, 28 Jan 2016 00:16:12 +0000, brian wrote:
> 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.
Looks like you're using OAuth here. I'm not terribly familiar with it.
You'll have to read the spec or look at other implementations to see what
you need to implement.
More information about the Digitalmars-d-learn
mailing list