1 changed files with 20 additions and 0 deletions
@ -0,0 +1,20 @@
|
||||
<?php |
||||
|
||||
namespace App\Constants; |
||||
|
||||
class HttpStatus |
||||
{ |
||||
const OK = 200; |
||||
const CREATED = 201; |
||||
const BAD_REQUEST = 400; |
||||
const UNAUTHORIZED = 401; |
||||
const FORBIDDEN = 403; |
||||
const NOT_FOUND = 404; |
||||
const INTERNAL_SERVER_ERROR = 500; |
||||
const SERVICE_UNAVAILABLE = 503; |
||||
const GATEWAY_TIMEOUT = 504; |
||||
const NOT_IMPLEMENTED = 501; |
||||
const HTTP_VERSION_NOT_SUPPORTED = 505; |
||||
const NETWORK_AUTHENTICATION_REQUIRED = 511; |
||||
const PREDETERMINADA = 404; |
||||
} |
||||
Loading…
Reference in new issue