Apologies if this has been asked before, I have searched to no avail.
I have a situation where there is a route parameter after the last slash I need to rewrite.
I need to rewrite the url
https://www.mysite.com/gw/Gateway/v1/DocumentDownload/3?forView=12
to be as below, with the 3 and the forView moving into parameters.
https://www.myothersite.com/cptond/api/getfile?id=3&forView=12
If anyone could assist I would be grateful.