minus-squareNeonWoofGenesis@lemmy.henlo.fitoLemmy Support@lemmy.ml•Help with Lemmy APIlinkfedilinkEnglisharrow-up2·edit-21 year agoRofl I don’t know why someone downvoted you, this was nice information thanks. I like to add that the keys must be wrapped in double quotes to be parsed as proper JSON. # POST to login endpoint curl -v --data '{"username_or_email": "username", "password": "password"}' --header 'Content-Type: application/json' https://example.com/api/v3/user/login linkfedilink
minus-squareNeonWoofGenesis@lemmy.henlo.fitoYou Should Know@lemmy.world•YSK: Your Lemmy activities (e.g. downvotes) are far from privatelinkfedilinkEnglisharrow-up1·1 year agoYeah if you host your own instance you can query about everything that’s being federated. linkfedilink
Rofl I don’t know why someone downvoted you, this was nice information thanks.
I like to add that the keys must be wrapped in double quotes to be parsed as proper JSON.
# POST to login endpoint curl -v --data '{"username_or_email": "username", "password": "password"}' --header 'Content-Type: application/json' https://example.com/api/v3/user/login