mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-15 16:37:21 +00:00
Add ability to POST multidimensional array of data
This commit is contained in:
@@ -19,6 +19,10 @@ if ($test == 'http_basic_auth') {
|
||||
));
|
||||
exit;
|
||||
}
|
||||
else if ($test === 'post_multidimensional') {
|
||||
echo json_encode($_POST);
|
||||
exit;
|
||||
}
|
||||
else if ($test === 'post_file_path_upload') {
|
||||
echo mime_content_type($_FILES[$key]['tmp_name']);
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user