Ver originalcurl_setopt($ch, CURLOPT_POSTFIELDS, array('post_str' => $post_str));
$input = $_POST['post_str'];