I'm trying to implement a specific HTTP interface (SAP Content Server HTTP Interface) with .NET Standard WebAPI, that requires that the routes be all in the form of:
http://server:port/somepath/controller?action¶meter1=value1¶meter2=value2...
Example:
GET
http://www.google.com/myapi/api?getStuff&stuffId=1&otherParameter=2
POST,PUT
http://www.google.com/myapi/api?putStuff&stuffId=1&otherParameter=2
Is it at all possible to do this specific routing with the action after the question mark and parameters afterwards ?
Interface specification: https://help.sap.com/doc/b743f868cdf249cfb829a5a121cc9436/7.0/en-US/SAPHTTPInterfaceOct.pdf
http://server:port/somepath/{controller}/{id}?{parameter1}={value1}&{parameter2}={value2}...