I wanted to be able to find a post and just hit a "like" button to upvote them directly from my desktop.
Found out that lemmy is kind of picky with the Accept header.
If you send
Accept: application/activity+json
it replies with json.
if you send
Accept: application/activity+json, application/ld+json
it replies with html...
anyway. after patching ap-signed-get to use the "right" accept header,
sending a like now works from a bookmarklet.
still haven't figured out what is wrong with my attempts at commenting.
can't be fucked to look into it right now.