Hacker News new | ask | show | jobs
by mmanulis 3529 days ago
Why not pass the token as an HTTP header? e.g. X-RESET-TOKEN=foo and then read that via JS
2 comments

How exactly do you encode a HTTP header into an URL?
You can't set an HTTP Header with an HTML link.

Would be nice to set a body though, wouldn't it? Also, not allowed by HTML.