Page MenuHomePhabricator

Cannot find a way to generate a request with the right requestData
Closed, WontfixPublic

Description

Hello,

I'm writing a php script with periodically exports all Maniphest tasks to an excel file. For this issue my approach is calling processRequest() in ManiphestExportController.

So to build the request first, I am using the buildRequest() method in AphrontDefaultApplicationConfiguration. The problem now is with the requestData at the point where isDialogFormPost() is called. requestData is remaining empty, since it originally gets its value in phabricator from

self::$rawInput = (string)file_get_contents('php://input');

and the result is then parsed into the requestData setter.
In my case the php://input is empty cause I have no real request. So is there anyway to get the right php://input or to set requestData manually?

Event Timeline

luna_rawas raised the priority of this task from to Needs Triage.
luna_rawas updated the task description. (Show Details)
luna_rawas added a subscriber: luna_rawas.
epriestley claimed this task.
epriestley added a subscriber: epriestley.

Sorry, we don't offer support with third-party custom development. See "Supported Issues" here:

https://secure.phabricator.com/book/phabcontrib/article/bug_reports/

See also T5447.

If this is particularly urgent, see Consulting.