Pipe pdf to http response with PDFKIT and Strapi (Koa)

前端 未结 0 1926
一整个雨季
一整个雨季 2021-01-29 22:35

I just want to return a pdf in response to a GET Request at my Strapi endpoint. Strapi uses Koa, and the Strapi controller atm look as follows:

const PDFDocument          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题