Cloudinary\Curl::fields PHP Method

fields() public method

Returns the POST fields that were meant to be sent to the server
public fields ( ) : array
return array an array of field name => value
    public function fields()
    {
        if ($this->http_method() == "GET") {
            parse_str(parse_url($this->url, PHP_URL_QUERY), $params);
            return $params;
        } else {
            return $this->parameters[CURLOPT_POSTFIELDS];
        }
    }