Azure API管理 - 有效负载大小问题

问题描述:

我们要求在请求中上传64个图像并且有效负载字符数很大,我们得到413 - Payload太大。
解决此问题的任何想法/建议。

是否有任何策略/配置接受Azure APi管理的这些API

AFAIK我认为有效负载限制仅存在于  docs
你能否证实你是否在这一层?

AFAIK I believe the payload restriction is present only in the Consumption Tier as mentioned in the docs. Could you confirm if you are on this tier?

如果是这样,我不知道我相信有一种方法可以解决这个问题,因为 但是  是GA。

If so, I don't believe there is a way to workaround this as of yet but might be available once the tier is GA.

使用上传的最佳方法是直接上传文件( s)blob使用  SAS
令牌
 以及您的API请求只需改为上传blob的URL。

The best way to work with uploads is to directly upload the file(s) to blob using SAS Tokens and your API request would just have to URL to the uploaded blob instead.