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