I am trying to receive and parse a JSON object sent in a POST request using Codeigniter but I cannot \"find\" it.
This is my controller code:
public
This is the correct way to do it.
$input_data = json_decode(trim(file_get_contents('php://input')), true);