How to return Multipart data (e.g excel file or photos) using Actix? #2672
Unanswered
stanley355
asked this question in
Q&A
Replies: 1 comment 4 replies
-
HttpResponse::Ok()
.content_type("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
.body(excel_bytes) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I've successfully parsed incoming request of excel data using actix and actix multipart, however I'm confused on how to return the excel data as a response, anybody having similar issue???
Beta Was this translation helpful? Give feedback.
All reactions