Return file as octet-stream as part of an API response. #139
Unanswered
NachoPonisio
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
I'm pretty new at using Cask, so I apologize beforehand for my lack of knowledge.
The problem follows. I'm trying to create an API resource that must return a large file stored in secondary memory as part as its response, as
octet-stream
. This is not the same use case as serving a static resource, as described in the documentation. I haven't been able to find any similar examples in the docs.I'd appreciate any input from the community that could point me in the right direction.
Thanks in advance.
Ignacio
Beta Was this translation helpful? Give feedback.
All reactions