Back
I'm trying to upload a file from iOS to AWS API Gateway and passthrough it to Lambda function, How can I implement this scenario?
I can use multipart/form-data to upload to AWS API Gateway but how make input Model support binary data?
Using a direct S3 upload using AWS SDK’s for any language you are using would do the required. For pretty short events, like one file upload and stuff like that you can use Lambda. Because it can run for a maximum of 900 seconds.
Check out this documentation to learn more:
https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-s3.html
Learn how we helped 50,000+ professionals like you !
31k questions
32.8k answers
501 comments
693 users