title: Sending CLOB data of length 32000 in utl_http.req throws ORA:06052 POST method
body: <p>I am trying to send an XML as a URL parameter from PL/SQL.
  But when I try to send it the error "ORA:06052" occurs. Below is the PL/SQL code</p>
  
  <pre><code>      CREATE OR REPLACE FUNCTION EMASDB.ESIGN(TY IN VARCHAR2,DATA1 IN CLOB,DATA2 IN CLOB) RETURN clob
  IS
  XML CLOB;
  v_data_post CLOB;
  resp utl_http.resp;
  req  utl_http.req;
  v_txt CLOB;
  BEGIN
  IF TY='REGISTER' THEN
  XML:='&lt;register&gt;&lt;uniqueid&gt;'||DATA2||'&lt;/uniqueid&gt;&lt;DATA1&gt;'||DATA1||'&lt;/DATA1&gt;&lt;userEnable&gt;true&lt;/userEnable&gt;&lt;originalContent&gt;'||DATA2||'&lt;/originalContent&gt;&lt;/register&gt;';
  ELSIF TY='AUTHENTICATE' THEN
  XML :='&lt;AuthenticateDet&gt;&lt;uniqueId&gt;'||DATA2||'&lt;/uniqueId&gt;&lt;DATA1&gt;'||DATA1||'&lt;/DATA1&gt;&lt;originalContent&gt;'||DATA2||'&lt;/originalContent&gt;&lt;referenceNo&gt;&lt;/referenceNo&gt;&lt;/AuthenticateDet&gt;';
  ELSE
  XML :='&lt;verifyDet&gt;&lt;dataType&gt;pkcs7&lt;/dataType&gt;&lt;DATA1&gt;'||DATA1||'&lt;/DATA1&gt;&lt;originalContent&gt;'||DATA2||'&lt;/originalContent&gt;&lt;responseFormat&gt;plain&lt;/responseFormat&gt;&lt;/verifyDet&gt;';
  DBMS_OUTPUT.PUT_LINE('A');
  END IF;
  req  := UTL_HTTP.begin_request ('url','POST','HTTP/1.1');
  utl_http.set_header(req, 'Content-Type', 'application/x-www-form-urlencoded');
  utl_http.set_header(req, 'Content-Length', length(XML));
  v_data_post :='xml='||XML;
  /*utl_http.write_text(req, v_data_post);
  resp := UTL_HTTP.get_response(req);
  utl_http.read_text(resp,v_txt);
  utl_http.end_response(resp);
  RETURN v_txt;*/
  RETURN 'done';
  END;
  /
  </code></pre>