Curl POST doesn't support multidimensional arrays

Components

Labels

Description

I'm trying to post multidimensional array using curl, but I get array instead.

Context Information

None

Additional information (do not use)

None

Attachments

1
  • 23 Jul 2010, 09:05 PM

Confluence content

mentioned on

Phabricator

Activity

Show:

Dmitry Andrejev November 30, 2010 at 6:48 PM

Closing released 5.1.1 task.

Alex August 29, 2010 at 10:34 AM

Fix committed to [b]5.1.x branch/b. Commit Message:

Fixes #0000807: Curl POST doesn't support multidimensional arrays

Dmitry Andrejev August 2, 2010 at 3:25 PM

Tested good, please commit to 5.1.1

Alex July 31, 2010 at 12:23 PM

Ups, forgot to add POST variable names. Here is fixed test case:

$curl_helper->setPostData(
Array (
'variable1' => Array ('test1', test2'),
'variable2' => Array ('test2', test3')
)
);

Dmitry Andrejev July 30, 2010 at 10:46 PM

I am getting "No values" for elements in your test case.

Fixed

Priority

Assignee

Alex

Reporter

Developer

Patch Instructions

Patches must be submitted through Phabricator.

External issue ID

Fix versions

Affects versions

Created July 23, 2010 at 9:05 PM
Updated December 29, 2024 at 9:16 PM
Resolved November 30, 2010 at 6:48 PM

Flag notifications