我正在尝试使用.NET Standard WebAPI来实现特定的HTTP接口(SAP Content Server HTTP接口),该接口要求路由全部采用以下形式:
http://server:port/somepath/controller?action¶meter1=value1¶meter2=value2 ...
示例:
获取
http://www.google.com/myapi/api?getStuff&stuffId=1&otherParameter=2
开机自检,输入
http://www.google.com/myapi/api?putStuff&stuffId=1&otherParameter=2
是否完全可以通过问号和参数之后的操作来执行此特定路由?
接口规范: https://help.sap.com/doc/b743f868cdf249cfb829a5a121cc9436/7.0/en-US/SAPHTTPInterfaceOct.pdf