prismatic-io / spectral

Prismatic's typescript library for custom components
https://prismatic.io/docs/spectral/custom-component-library
35 stars 2 forks source link

Return custom headers from an action in a synchronous request #195

Closed taylorreece closed 5 months ago

taylorreece commented 5 months ago

When invoking a flow synchronously, you can return a response body, content type and HTTP status code to the caller from the last step of the integration. With an upcoming change, you'll also be able to return custom headers. This will be helpful when responding with redirects, etc.