read input from php://input instead of $_REQUEST