You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i am trying to build an endpoint that returns a pdf, but i can't figure out how to set the content-type header on the Attachment struct.
Of course a custom payload would work, like in the examples, but was wondering if it isn't possible to just specify the content-type header
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
i am trying to build an endpoint that returns a pdf, but i can't figure out how to set the content-type header on the Attachment struct.
Of course a custom payload would work, like in the examples, but was wondering if it isn't possible to just specify the content-type header
Thankful for every help!
Beta Was this translation helpful? Give feedback.
All reactions