如何将 post 图像作为请求的参数发送到 Azure Function?

How to post an image to Azure Function as a parameter of request?

我正在构建一个 API 来使用 Azure Function 和 C# 处理图像。 如何 post 将图像作为请求正文中的参数发送到 Azure Function?

谢谢。

如果您正在考虑 HTTP 触发器,您将收到 HttpRequestMessage,您可以使用它来提取文件,就像在 ASP.NET Web API 控制器中一样。

有很多链接对此进行了解释,例如