public function setPostFields($value) {
        if (is_array($value)) {
            return $this->setOption(CURLOPT_POSTFIELDS, http_build_query($value));
        } else {
            return $this->setOption(CURLOPT_POSTFIELDS, $value);
        }
    }
public function setPostFields($value) {
        if (is_array($value)) {
            return $this->setOption(CURLOPT_POSTFIELDS, http_build_query($value));
        } else {
            return $this->setOption(CURLOPT_POSTFIELDS, $value);
        }
    }
public function setPostFields ( $ value ) { if ( is_array ( $ value ) ) { return $ this -> setOption ( CURLOPT_POSTFIELDS , http_build_query ( $ value ) ) ; } else { return $ this -> setOption ( CURLOPT_POSTFIELDS , $ value ) ; } }
Set post fields

@param   array|string   $value  Array should be in key => value format. String === json
@return  Request
Set post fields