drahak / Restful

Drahak\Restful - Nette REST API bundle
0 stars 0 forks source link

Update InputFactory.php #122

Closed dohnal closed 8 years ago

dohnal commented 8 years ago

This update fixes incorrect parsing of input data sent via JSON in request body.

Since httpRequest->getPost() also get the request body but mismatching data types, the correct JSON decoded array is destroyed.