Json / XML Debugging Template

All of the current debugging templates are html.

Just wondering if any has or has ideas about adding a debugging template for api endpoints.

Aka returning a json or xml (depending on your api) output instead of html so that it is machine readable.

1 Like

you can already grab the debugging logs as an object which can be turned into json

1 Like

#nicework… I’d drop it in the return json rather than writing a file, I’m sure I can use that to create a default debug template…

just remember to always treat debugging logs as potentially containing sensitive data

1 Like

#greatreminder do a lot of data cleaning / verification now so it’s something we’re always monitoring.