Check if my GET request has Header: Token
PHP Snippet 1:
public function fetch($id)
{
$token = $_SERVER['HTTP_Token'];
// do your busniess code
}
public function fetch($id)
{
$token = $_SERVER['HTTP_Token'];
// do your busniess code
}