πŸŽ‰ BetterResponse v2

Sometimes you need something faster than the amazing Wappler devs can arrange. So to answer my own topic (How to send a response with custom header) I created a module that allows me to set headers in a response created by a server action.

To quote @JonL: Drop these two babies in /extensions/server_connect/modules

Features:

##Example use case: setting a [Content-Type in your response] ##(Server Connect Response Action -> Set Content-Type in response headers) and a couple of other headers:

1.Add the action in a server action:

  1. Add headers, for example:

  2. The server now responds with the set headers:

It’s my first module - tips/contributions are welcome

Updates

2022.01.08 | V2: Simplified code, fixed dmx {{variable}} not parsing and showing as plaintext

Community Page
Last updated: