Azure API管理 - 有效负载大小问题 [英] Azure API Management - Payload Size Issue

查看:94
本文介绍了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.


这篇关于Azure API管理 - 有效负载大小问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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