Comment on How to curl the API?
freamon@endlesstalk.org 1 year ago
auth is optional for get_community, but if you wanted to include it, it’s just
jwt="" # fill this in curl https://lemmy.world/api/v3/auth=${jwt}&community?id=23677 | jq .
There’s a post on !linuxscripts@lemmy.zip called “Basic Lemmy API “get unread replies” script” which uses the jwt for a endpoint that requires it.
bennysp@lemmy.world 1 year ago
Thanks. I will give that a shot!