Closed n0nag0n closed 6 months ago
Instead of clearing out the headers that have been set in the response, this will only clear the body instead, which is more desirable.
Additionally, this adds a new mappable method jsonHalt() which will output your JSON and immediately stop the request.
jsonHalt()
Instead of clearing out the headers that have been set in the response, this will only clear the body instead, which is more desirable.
Additionally, this adds a new mappable method
jsonHalt()
which will output your JSON and immediately stop the request.