ajax and following yourself

Published 2021-10-07
/* Code: */
$.ajax({type:"PUT",url:"/site-api/users/followers/TheName/add/"});location.reload()

/* Other Code */
$.ajax({type:"PUT",url:"/site-api/users/followers/TheName/remove/"});location.reload()

https://en.scratch-wiki.info/wiki/Scratch_API#:~:text=The%20Scratch%20API%20is%20an%20interface%20which%20provides,address%20of%20the%20current%20Scratch%20API%20is%20https%3A%2F%2Fapi.scratch.mit.edu.