[TYPO3-core] RFC #16011: Feature: getUrl function needs support for sending POST data

Susanne Moog typo3 at susannemoog.de
Sat Oct 23 20:46:56 CEST 2010


On 16.10.2010 16:17, Jigal van Hemert wrote:
> Hi,
> 
> This is a SVN patch request.
> 
> Type: Feature
> 
> BT reference: http://bugs.typo3.org/view.php?id=16011
> 
> Branches: trunk
> 
> Problem:
> t3lib_div::getURL() can retrieve contents of webpages, but sometimes you
> need to send information via POST to get the correct response (e.g.
> authentication data, file upload). getURL doesn't support POST yet.
> 
> Solution:
> Add an optional parameter to set POST fields
> 
> How to test:
> Use getURL to retrieve information from a page which contains access
> restricted content. When including the user login information in the
> POST fields the access restricted content will also be included in the
> result.
> 
> Notes:
> Use case: send newsletters with access restricted content.

Committed to trunk in rev 9196, after my +1 by reading and testing.

Thanks for the feature :-)

Susanne



More information about the TYPO3-team-core mailing list