Server API post, How do I create JSON input from a query (multiple records)

Hi, I'm not sure if this will help but there could be some info there for you.

Basically any server connect file creates a JSON output that can be used like an API, but this trick above is what I needed to do to be able to use the data properly when using the data through a URL.

Useful to know if you don't already, even if it doesn't help here.