The problem seems to be that your WordPress installation is missing configuration for ‘pretty permalinks’, that’s why your routes are send using GET parameter ‘rest_route’. Is there any reason why are you using your WordPress like this? See:
https://wordpress.org/support/article/using-permalinks/
https://developer.wordpress.org/rest-api/extending-the-rest-api/routes-and-endpoints/