1
我是Web API的新手,需要在URL
中的UI(Windows应用程序)中动态传递值,下面以粗体显示值参数。将值传递给查询字符串C中的Web Api URL#
URL:http://openbasket-quote.sit.svc/v3/allQuotes/**{number}**/version/**{version}**?format=OrderGroupXml&country=**{country}**&ignoreExpirationDate=true
我已经这样做了。
string eQuoteURL = eTempQuoteURL + eQuoteNo + "/" + "version" + "/" + versionNo + "?" + "format=OrderGroupXml&country=" + country + "&ignoreExpirationDate=true";
是否有任何其他的方式来传递值URL
。