mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-15 16:37:21 +00:00
Use http_build_multi_query() to build POST data string containing multiple values for the same key
This commit is contained in:
+2
-1
@@ -20,7 +20,8 @@ if ($test == 'http_basic_auth') {
|
||||
exit;
|
||||
}
|
||||
else if ($test === 'post_multidimensional') {
|
||||
echo json_encode($_POST);
|
||||
$http_raw_post_data = file_get_contents('php://input');
|
||||
echo $http_raw_post_data;
|
||||
exit;
|
||||
}
|
||||
else if ($test === 'post_file_path_upload') {
|
||||
|
||||
Reference in New Issue
Block a user