POST, PUT, and DELETE API calls return 301 and are redirected to a GET

Hello,

I am upgrading my Confluence plugin to v9.2.2

When testing my POST, PUT, and DELETE custom APIs in my plugin, they always return 301 and get redirected to a GET call.

Has this happened to someone, or am I missing something silly?

Thanks in advance!