this post was submitted on 12 Dec 2023
248 points (95.9% liked)
Programmer Humor
32571 readers
130 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Basically it means that the API calls won't work in a browser and would only realistically work in things like Python scripts.
If API calls are being handled by JavaScript in the browser, they're going to run into issues, because the HttpOnly flag means the JavaScript code can't read the auth token.
Things like Python scripts have no such limitations though, so this can be used in cases where you aren't expecting an actual browser.