Posting form-data and binary data through AWS API Gateway

后端 未结 1 1941
栀梦
栀梦 2020-12-09 11:47

I\'m trying to POST \"mutlipart\\form-data\" to my EC2 instance through AWS API Gateway, but I couldn\'t find a way to this. There is a way to post data using \"application/

相关标签:
1条回答
  • 2020-12-09 12:30

    Api Gateway team here.

    Binary data isn't supported at the moment, but it's on our backlog. Several customers have requested this.

    Some customers have had success using the base64 util in the mapping templates which may get it working for you: http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#util-template-reference

    Other than that you'll have to wait for official support.

    Edit

    Binary support is finally here!!

    0 讨论(0)
提交回复
热议问题