pedestal

2020-03-20T10:09:13.041900Z

Hi, everyone I was wondering how could I return a xlsx file (that I am actually constructing in the interceptor itself and not reading it from the filesystem) in pedestal ? Thanks in advance

orestis 2020-03-20T11:43:33.042900Z

You can return an InputStream for the body

🙏 1
💍 2
orestis 2020-03-20T11:43:45.043300Z

You’d need to put in the correct headers

orestis 2020-03-20T11:43:58.043600Z

@ho0man ^^

2020-03-20T12:21:23.043700Z

Thanks a lot @orestis