URL Rewrite is available through Azure Application Gateway or Azure Front Door. These services would need to be placed in front of the application receiving the request, and the URL Rewrite can be performed.
As a disclaimer, it is likely easier to just change the request to the correct version at the source.