Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to post a http request with parameter use utl_http

596183Mar 18 2010 — edited Mar 18 2010
l_http_req := utl_http.begin_request (p_url_in, 'POST');

-- Set the HTTP request headers
utl_http.set_header(l_http_req, 'User-Agent', 'Mozilla/4.0');
utl_http.set_header(l_http_req, 'content-type', p_data_type);
utl_http.set_header(l_http_req, 'content-length', length(p_data_in));


---- utl_http.set_header(l_http_req, 'xml_request');

-- Write the data to the body of the HTTP request
utl_http.write_text(l_http_req, p_data_in);

-- Process the request and get the response.
l_http_resp := utl_http.get_response (l_http_req);

the error is No 'xml_request' parameter found in the request
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2010
Added on Mar 18 2010
2 comments
1,118 views