Created
June 29, 2020 22:46
-
-
Save robzlabz/1d6115f22757c02e3bb78b81b9ea2ab8 to your computer and use it in GitHub Desktop.
Laravel HTTP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$response->body() : string; | |
$response->json() : array|mixed; | |
$response->status() : int; | |
$response->ok() : bool; | |
$response->successful() : bool; | |
$response->failed() : bool; | |
$response->serverError() : bool; | |
$response->clientError() : bool; | |
$response->header($header) : string; | |
$response->headers() : array; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment