Answers for "HTTP request php"

PHP
3

get http method php

if ($_SERVER['REQUEST_METHOD'] === 'POST') {
     // The request is using the POST method
}
Posted by: Guest on July-03-2020
1

php http method

$_SERVER['REQUEST_METHOD'];
Posted by: Guest on October-25-2020

Browse Popular Code Answers by Language