Do you happen to know the API endpoint for logging in? I can’t for the life of me find it. The docs say https://instance.TLD/api/v3/user/login?username_or_email=<username>&password=<password> but /login goes nowhere, at least for monero.town.
I’m also about to post after I get login working so if you know the format of that query string you can toss that in too, save me some time fumbling with the lemmy docs.
From someone on matrix:
It’s a POST endpoint
The response is a jwt and a few flags.
Well you have to post and the body is json with the attribute rather than GET request params
Do you happen to know the API endpoint for logging in? I can’t for the life of me find it. The docs say
https://instance.TLD/api/v3/user/login?username_or_email=<username>&password=<password>
but/login
goes nowhere, at least for monero.town.I’m also about to post after I get login working so if you know the format of that query string you can toss that in too, save me some time fumbling with the lemmy docs.
From someone on matrix: It’s a POST endpoint The response is a jwt and a few flags. Well you have to post and the body is json with the attribute rather than GET request params