Mar-20-2018, 01:09 PM
Hi All,
I am facing an issue. I have an AWS API gateway and I am post some raw data and MS XLS file using postman to a AWS Lambda function. AWS API gateway has passthrough set as "binary data" for mutipart/form-data.
I need to parse the stream in a Python Lambda function and store the XLS file in S3.
I need help on how to parse the XLS stream in Body stream and store in s3 file.
I am able to solve the other attachment types like CSV and TXT with utf-8 decoding parse. But for XLS /JPG file , how to parse the stream and store s3 file, I am facing issue.
Please someone help
I am facing an issue. I have an AWS API gateway and I am post some raw data and MS XLS file using postman to a AWS Lambda function. AWS API gateway has passthrough set as "binary data" for mutipart/form-data.
I need to parse the stream in a Python Lambda function and store the XLS file in S3.
I need help on how to parse the XLS stream in Body stream and store in s3 file.
I am able to solve the other attachment types like CSV and TXT with utf-8 decoding parse. But for XLS /JPG file , how to parse the stream and store s3 file, I am facing issue.
Please someone help