Closed this issue 4 years ago · 1 comments
At the moment it gives back a plain text body. It should give back some JSON instead.
Could base it on the configured response headers (if there are any). If they expect json back, send json, otherwise just preserve the current behaviour