API网关编码多部分

API网关编码多部分

本文介绍了API网关编码多部分/表单数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的API网关通过传递反映了一个beantalk,我的客户端向beantalk发送直接的multipart/form-data请求.图像发送正确,可以正常打开它,但是当我从API网关发出请求时,无法打开图像.看起来API网关编码在执行传递到beantalk时弄乱了图像内容.

I have a beanstalk reflected in my API gateway with passthrough, where my client sends a direct multipart/form-data request to beanstalk. The image sends correctly and I can open it normally, but when I make the request from the API Gateway, I can't open the image. Looks like the API Gateway encode messes up the image content when performing the passthrough to beanstalk.

如何设置Api Gateway编码或进行纯传递?

How I can set the Api Gateway encode or make a pure passthrough?

推荐答案

我是巴西人,所以我和巴西AWS团队进行了交谈.

I'm Brazilian, so I talked to the Brazilian AWS team.

证据提供了一个真正的错误,他们激活了API网关开发团队,并在3天内解决了问题.

The evidence presented a real bug and they activated the API Gateway development team and solved the problem in 3 days.

这篇关于API网关编码多部分/表单数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 19:56