Replies: 2 comments 1 reply
-
Hi, I don't think it's possible. You can probably send a JSON response first containing uri to file for downloading. And download it in separate request. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, I'm working in something similar and I was wondering if is possible to strigntify the file like |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In response.file, i have the file buffer data
When i send as
res.send(response.file)
, i am able to download the file on the Postman side by sending the request as 'Send and Download'But i want to send a json data as well with the file, which is present in res.send(response.status) (response.status is a json obj)
response.status obj contains -> {"statuscode":200,"message":"Email sent successfully"}
I can get either of one in response.;
How can i get both res.send(response.file) and res.send(response.status) together on Postman side
Beta Was this translation helpful? Give feedback.
All reactions