-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to configure Krakend to support Upload File Endpoint #844
Comments
Hello Anand, You could start here:
Notice the Share logs for further help |
Yes, look, this is how I configured one of my endpoints
|
Hello, I am in a similar situation. I have KrakenD and SeaweedFS in my docker compose. I am able to get images by directly accessing the SeaweedFS container but not if it goes through KrakenD. Here is how I have configured KrakenD.
However, when going through KrakenD, I receive this error:
Any suggestions would be greatly appreciated. |
Hello @qtpi-bonding, the error message you are seeing is provided by SeaweedFS. The KrakenD configuration looks OK and there is nothing much we can do from here. I guess this is a generic service error (I saw this on AWS Amplify) and might have nothing to do with headers. Something like special chars, hyphens, etc, could be raising this error. In any case, if headers were a problem for your backend, try to pass them one by one so you can discard if there is any header. |
Thank you for your help, @alombarte. I have posted a more detailed question here: #950 I tried manually adding all the headers back in a curl request from the KrakenD container to SeaweedFS container and it worked. This leads me to suspect KrakenD is adding extra headers or not showing all the headers when I look at the debug endpoint. |
Hello Community Members,
We have been using KrakenD as API Gateway for our Micro-Services. One of our micro-service handles Image upload. We tried in ways to configure KrakenD to support upload Image in Base64 format and binary but no luck. Not found any references too.
Can some one share KrakenD configuration which supports Image upload?
Thanks,
Anand
The text was updated successfully, but these errors were encountered: