ZF-2530: Add methods for setting multiple GET/POST parameters at once

Issue Type: Improvement Created: 2008-01-30T12:31:47.000+0000 Last Updated: 2008-03-21T16:25:19.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Matthew Weier O'Phinney (matthew) Assignee: Shahar Evron (shahar) Tags: - Zend_Http_Client

Related issues: Attachments:


Currently, the only way to set multiple request parameters in Zend_Http_Client is by successive calls to setParameterPost() and setParameterGet(). This is inconvenient when multiple parameters are required.

Please add setParametersPost() and setParametersGet() (note the plural) to simplify this process.


Posted by Shahar Evron (shahar) on 2008-01-31T01:59:28.000+0000


If I understand you correctly, you can pass an associative array to either setParameterGet() or setParameterPost() to set multiple GET or POST parameters with one call. see… .

Posted by Matthew Weier O'Phinney (matthew) on 2008-01-31T14:07:32.000+0000

Thanks, Shahar -- I missed that in the docs.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.