Skip to content

Request::getArgs() can't get data from STDIN #19

Description

@airylinus

Request::getArgs() can't get data from STDIN when client post JSON / XML to Server.
for example:
post JSON via angularjs

$http({
    url: '/api/task/create',
    method: "POST",
    data: JSON.stringify(newTask)
    }).success(function(data) {
            console.log(data);
    })
})

in Action:

$this->request->getArgs(); // got nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions