使用Azure API管理上传文件 [英] File uploading using Azure API management

查看:96
本文介绍了使用Azure API管理上传文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我们有一些webAPI,我们将它们放在APIM之后.现在最大的问题是,我们有1个API,使用户可以上传文件(IFormfile).使用API​​M如何做到这一点?无法以某种方式更改当前的API.

we have some webAPI and we are putting them behind APIM. Big question now is, we have 1 API that enables users to upload a file (IFormfile). How can this be achieved by using APIM? Changing the current API somehow is not possible.

预先感谢

Riccardo

推荐答案

我以前没有尝试过,但是我相信它应该可以照常工作.您显然无法解析有效负载,但除此之外,它应该将您的请求转发到后端.

I haven't tried this before but I believe it should work as usual. You obviously can't parse the payload but other than that, it should forward your request to your back end.

您是否遇到任何问题?如果是这样,您可以共享此API的策略定义吗?

Is there any issue that you are facing? If so, could you share your policy definition for this API?


这篇关于使用Azure API管理上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆