if ($method ne "GET") { if ($method ne "POST") { msg(400); } }