Asking tech people who know more about this sort of thing than I do (which admittedly isn't hard) ...

From the command line I want to access this page:

mathstodon.xyz/sidekiq/queues

I have a username and password that lets me login via the web interface and look at it through a browser, but I can't work out the magical CLI incantation.

Help?

PS: Assume I know nothing about this sort of thing.

@ColinTheMathmo Easiest I guess easiest would be to pick an API library in a language you like, then read their docs

Maybe one of these docs.joinmastodon.org/client/l

Possibly easier would be to steal the session cookie or auth token or whatever (you can figure it out with dev tools) and then hook that into curl or whatever

@applejack Yeah ... I've been trying to avoid both of those. I tried passing "--user" and "--password" to wget on the CLI, but that didn't work. Finding the cookie might, as you say, be the way to do it, but I'm not a web dev, so using dev tools to sniff that is something I'd need to work out.

It's ... tricky. It seems like there's a lot I need to assimilate before I can do this, though given that I know the username and password you'd think there's be an easy way to do it.

Having said that, no doubt it will be easy, once I know a huge amount of stuff.

Follow

@ColinTheMathmo Actually, try "copy as curl". Dev tools > network tab > right click request you want > copy > copy as curl

That should give you a curl command

· · Web · 1 · 0 · 0
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.