JSONResponse
trait JSONResponse (View source)
Provides a simplified method for creating JSON-based HTTPResponses.
Methods
Details
HTTPResponse
jsonResponse(array $body, int $status = 200)
No description