I was trying to test this locally and was confused that it didn't work. But it does work, just only for POST requests. The docs mention that, but this page didn't link to them 🙃