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

Jigal van Hemert jigal at xs4all.nl
Sat Oct 23 09:14:06 CEST 2010


REMINDER

(1 vote by reading and testing from core dev missing)

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.
>


-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-team-core mailing list