PHP RestApi
REST is an acronym for REpresentational State Transfer and an architectural style for distributed hypermedia systems.
Loading...
Searching...
No Matches
Public Attributes | List of all members
Samy\RestApi\HttpStatus Class Reference

Public Attributes

const OK = 200
 
const BAD_REQUEST = 400
 
const UNAUTHORIZED = 401
 
const INTERNAL_SERVER_ERROR = 500
 

Detailed Description

Describes HTTP status.

See also
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

Member Data Documentation

◆ BAD_REQUEST

const Samy\RestApi\HttpStatus::BAD_REQUEST = 400

◆ INTERNAL_SERVER_ERROR

const Samy\RestApi\HttpStatus::INTERNAL_SERVER_ERROR = 500

◆ OK

const Samy\RestApi\HttpStatus::OK = 200

◆ UNAUTHORIZED

const Samy\RestApi\HttpStatus::UNAUTHORIZED = 401

The documentation for this class was generated from the following file: