burgercat API documentation
for API things that require authentication, you will need to set thesession_DO_NOT_SHARE
cookie. the key might expire after 180 days.GET
/api/frontpage
- returns frontpagePOST
/api/post
- post ctas - authentication requiredtitle
, being the title of the post and file
, being an image file.Supported file extensions: "png", "apng", "jpg", "jpeg", "gif", "svg", "webp"
POST
/api/comment
- comment on posts - authentication requiredtitle
, being the title of the comment and id
, being the ID of the post you want to comment on.POST
/api/login
- get authentication keyusername
, being the username and password
, being the password. Returns authentication key.GET
/api/userinfo
- authentication required - Returns user info, username, ID, and account creation date.