Thank you for watching my videos. To upload file size > 5MB through API gateway is bit difficult, I shall create a new video on it once I found it. But mean time you can rely with boto3 APIs of AWS S3 Services.
Thank you for watching my video. In this video I shown for image files. For csv I should experiment it (there would be need of configuration changes). But should be supported.
Thanks you for watching my video. API gateway UI does provide both option legacy UI and Latest UI as well , I recorded in Old but new UI has the same functionalities , only look and feel are different.
@@cloudquicklabs thing is that i am doing some image processing and when i send image through binary its taking extremely long time. but when i do with multipart/form-data which usual way to send files its taking nominal time. also with python conversion from multipart to normal data is giving errors i tried that too. whats your suggestion on this.
@@cloudquicklabs One thing that is a challenge at the moment is that when I run my app (in development, non production) in the browser, the CORS fails ("CORS preflight response did not succceed, CORS request did not succeed") even though I've enabled API gateway CORS for the resource and return the backend Lambda function returns the applicable CORS headers following the AWS documentation.
Invoking via postman is about selecting right options. docs.aws.amazon.com/apigateway/latest/developerguide/call-api-with-api-gateway-lambda-authorization.html
@@cloudquicklabs Thanks! But i have checked everything multiple time from your video still facing the issue though I can upload the file using Lambda itself using Test option for Lambda. Any suggestion?
Thank you for watching my videos here. Here you are binary encoding image file and passing that value to API via parameters. We need to make sure that multipart/form-data is intact.
How can we work with the Load Balancer instead of Api Gateway? will the payload remain the same for the ALB as it is for API Gateway?
Thank you for watching my videos.
Yes it would remain same but there will problem of authentication.
It would done with long mile work.
What payload are you receiving from aws s3 when documents are upload?
Thank you for watching my videos.
It's would be default https success code 200/201
Hi,
thanks for you video.
What would you recommend if I want to upload files larger than 5 MB? Maybe *.zip Files up to several GB?
thanks
Thank you for watching my videos.
To upload file size > 5MB through API gateway is bit difficult, I shall create a new video on it once I found it. But mean time you can rely with boto3 APIs of AWS S3 Services.
Can you do this with lambda proxy integration?
Thank you for watching my videos.
Indeed I shall create new version of this lab soon.
is it possible to upload csv file as well?
Thank you for watching my video.
In this video I shown for image files. For csv I should experiment it (there would be need of configuration changes). But should be supported.
is this an old video? the aws ui seems old and you uploaded this 1 month ago
Thanks you for watching my video.
API gateway UI does provide both option legacy UI and Latest UI as well , I recorded in Old but new UI has the same functionalities , only look and feel are different.
Does this require to pass any aws credentials or is this api public ?
Thank you for watching my videos.
Here you are not passing the AWS credentials but AWS API Gateway - api tokens to authentication.
what if i want to use form data to pass the image
Thank you for watching my videos.
You can still do that via an interface (app interface) and convert the image back to binary and call the api here.
@@cloudquicklabs thing is that i am doing some image processing and when i send image through binary its taking extremely long time. but when i do with multipart/form-data which usual way to send files its taking nominal time. also with python conversion from multipart to normal data is giving errors i tried that too. whats your suggestion on this.
Can you do this for json objects, sending the payload in POST request and then converting it to .json file to store in s3 bucket?
Thank you for watching my videos.
Indeed I shall create a video on this.
@@cloudquicklabs One thing that is a challenge at the moment is that when I run my app (in development, non production) in the browser, the CORS fails ("CORS preflight response did not succceed, CORS request did not succeed") even though I've enabled API gateway CORS for the resource and return the backend Lambda function returns the applicable CORS headers following the AWS documentation.
Thank you for letting me know about this challenge. I shall work on this.
Please check new video here th-cam.com/video/OXvRCY6Pbu0/w-d-xo.html
@@cloudquicklabs Thanks!
even my file is 75kb it is showing response as internal server error in postman and file not getting uploaded
Thank you for watching my videos.
Error might not be related to file size. Did you check if API is invoking lambda here.
Getting {
"message": "Forbidden"
}
How can we fix it?
Able to upload text file via lambda but getting error with postman :( Please suggest
Thank you for watching my videos.
Check if your API url is correct and API keys are correct.
Invoking via postman is about selecting right options.
docs.aws.amazon.com/apigateway/latest/developerguide/call-api-with-api-gateway-lambda-authorization.html
@@cloudquicklabs Thanks! But i have checked everything multiple time from your video still facing the issue though I can upload the file using Lambda itself using Test option for Lambda. Any suggestion?
I too facing this same error
bro the ui is now been updated, i am not able to locate the content type, can you give insights on this
Thank you for watching my videos.
Indeed UI is updated now.
I shall create version of this video soon.
what if i send the file through multipart/form-data how to configure api gateway
Thank you for watching my videos here.
Here you are binary encoding image file and passing that value to API via parameters. We need to make sure that multipart/form-data is intact.
Its giving me
{
"message": "Forbidden"
}
What to do?
Thank you for watching my videos.
It looks to wrongly invoking APIs. Please look at the video again.
Thanks man
Thank you for watching my videos.
Glad that it helped you.
Thankyou
Thank you for watching my videos.
Glad that it helped you.
confuse content
Apologies, I am above create a refined version of this video soon.