https://snhackery.com/2020/06/09/hacking-the-scripted-rest-api-part-ii/
Hacking the Scripted REST API, Part II