JSON Data and Binary Data in API Gateway

0

Is it possible to configure API Gateway to accept both JSON data and Binary data from a POST request?

1回答
0

Refer to this document on how to do this - https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-payload-encodings.html

If you want to configure from the console, you can look at the Settings under your API and if you scroll down all the way, it has a section "Binary Media Types" where you can specify which content types must be treated as binary.

profile pictureAWS
エキスパート
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ