News for hackers. Stuff that matters.
Re:Show HN: WrapAPI v2 – Build APIs, scrapers, bots on any w... by wrapapi on Friday April 21, 2017 @02:38PM (#14168128)
You can actually write an API endpoint that'll retrieve a state token (which includes the cookies). For one example, you can use view our Hacker News login endpoint at https://wrapapi.com/#/view/phsource/hackernews/login/latest

That endpoint will then emit a state token, which includes the session cookies. You can feed that state token into your next request and it'll authenticate you

There are no comments on this comment yet.