← go back

quick thought i had about the wasteof api

since pinned in a user’s post list is an array that usually only contains one thing (a user’s pinned post), what would happen if someone were to add something to that array by manually editing the database?

i’m specifically referring to this:

{"posts": [ regular post list, blah ], "pinned": [ this ]}

edit: if you want to see what im referring to in the actual wasteof api, you can go to api.wasteof.money/users/jeffalo/posts?page=999 to get the pinned post without all of jeffalo’s other posts

Dec 11, 2022, 11:43 PM (edited)
2 1 1

Comments