Created
November 21, 2014 17:45
-
-
Save NoelDavies/d6d45223323ba073d243 to your computer and use it in GitHub Desktop.
So proud of my teapot
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 | |
Route::any('/teapot', function(){ | |
return Response::json([ | |
'data' => [ | |
'message' => 'I\'m a teapot', | |
'result' => [ | |
'teapot' => true | |
] | |
], | |
'errors' => [], | |
], 418 ); | |
}); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment