be0ba 2023-05-16

Discord is considered harmful

Discord is trash. We know this, but it’s becoming hard to avoid. Today, someone in the grid was trying to use the Discord API using hget.

I know what you’re thinking (beyond “Why?!”). They weren’t even doing anything wrong. It should’ve worked. hget passed everything along, webfs did its thing. Yet, the API persistently returned 403 You suck. Since curl works, and hget is doing the same thing, what could the issue be? The astute among you may have already seen this coming.

Those useless assholes filter requests based on the User-Agent header.

So, for anyone wanting to use this trash with hget, or any other site that doesn’t seem to work with hget, try something like this:

term% hget -r 'Authorization: Bot DISCO...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help