Comments (4)
Short answer: don’t think so. Locally you may be able to get it to work. But on AWS Lambda and API Gateway, it would work differently and wouldn’t work. So it’s a bit of work.
from jets.
@tongueroo sorry, but could you, please, explain a bit why that wouldn't work on AWS Lambda and API Gateway.
Docs say it's possible to work with binary files https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-content-encodings-examples-image-lambda.html
from jets.
Oh I could be mistaken here. Was thinking about websocket streaming. For binary files like images, believe it works. But it’s been a while since tested. https://blog.boltops.com/2018/12/13/jets-image-upload-carrierwave-tutorial-binary-support/ Vaguely remember that had return a specific type of response for it to work. Jets should do this but your miles may vary. Binary data through APIGW seems to be a pain. So it may not work. You’d probably have a better experience using s3. At least wanted to provide an answer.
from jets.
@tongueroo thanks for your response (and the suggestion about the s3 approach, will check it out)
from jets.
Related Issues (20)
- 403 error during a deploy HOT 2
- Ruby `3.x` support HOT 8
- Preheat Error after deploy - undefined local variable or method `cfn' for #<Jets::Preheat:> HOT 9
- `jets deploy` fails on a newly created project which uses VPC HOT 1
- NoMethodError: undefined method `host' for nil:NilClass when sending mail locally HOT 2
- Add `--css tailwind` flag to jets cli HOT 5
- routes resources doesnt add param HOT 2
- Changing lambda.layers from serverless gems breaks BasePathMapping HOT 1
- Afterburner mode with Ruby 3.2.0 HOT 7
- PATCH in form being translated to POST in api gateway HOT 1
- Error Deploying 5.0.0 Without sprockets-jets Gem HOT 5
- Shared SQS Queue Deploy Failure Due to IAM Permission Issues HOT 11
- Jets 5.0.2 cannot deploy when project completely empty HOT 2
- Fresh install of jets 5.0.8 cannot load such file authorizer HOT 2
- Missing API Methods leads to 500 errors HOT 2
- Deploy of s3_event job fails on Custom::S3BucketConfiguration if not already deployed HOT 1
- Dotenv >=3 Breaks Jets Environment Variables HOT 8
- Need to update supported ruby version on docs.
- v5.0.11 --> ERROR: Template error: instance of Fn::GetAtt references undefined resource JetsInfoController HOT 1
- Generated test environment config prevents classes from being partially doubled in tests HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jets.