mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-05 11:37:21 +00:00
Add DELETE test
This commit is contained in:
@@ -25,6 +25,9 @@ header('Content-Type: text/plain');
|
||||
if ($test === 'put') {
|
||||
$value = isset($_GET[$key]) ? $_GET[$key] : '';
|
||||
}
|
||||
else if ($test === 'delete') {
|
||||
$value = isset($_GET[$key]) ? $_GET[$key] : '';
|
||||
}
|
||||
else if ($test === 'post') {
|
||||
$value = isset($_POST[$key]) ? $_POST[$key] : '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user