use php://input instead of post array