You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When JSON data is sent via postman $this->request->getPost() always stays empty even $_POST stays empty. although file_get_contents('php://input') shows the data.
what could be the problem and how do I fix it?
CodeIgniter 4 version
4.0.2
Context
OS: Windows 10
Web server Apache 2.4.35
PHP version 7.4.0
The text was updated successfully, but these errors were encountered:
uzairali001
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
Mar 18, 2020
Describe the bug
When JSON data is sent via postman
$this->request->getPost()
always stays empty even$_POST
stays empty. althoughfile_get_contents('php://input')
shows the data.what could be the problem and how do I fix it?
CodeIgniter 4 version
4.0.2
Context
The text was updated successfully, but these errors were encountered: