从 Azure Functions 中调用 HttpUtility
Call HttpUtility from within Azure Functions
我正在尝试从 Azure Functions 中进行 REST 调用。对于这些代码行:
var client = new HttpClient();
var queryString = HttpUtility.ParseQueryString(string.Empty);
我收到以下错误。
The name 'HttpUtility' does not exist in the current context
我正在使用 Azure.com 中的 Web 界面。
您可能缺少对 System.Web
的正确引用:
#r "System.Web"
using System.Web;
我正在尝试从 Azure Functions 中进行 REST 调用。对于这些代码行:
var client = new HttpClient();
var queryString = HttpUtility.ParseQueryString(string.Empty);
我收到以下错误。
The name 'HttpUtility' does not exist in the current context
我正在使用 Azure.com 中的 Web 界面。
您可能缺少对 System.Web
的正确引用:
#r "System.Web"
using System.Web;