UNDERSTANDING UTL_HTTP WITH HELP OF SAMPLES: PART II - How to Use the Method GET with UTL_HTTP (Doc ID 1052822.1)

Last updated on JULY 27, 2017

Applies to:

PL/SQL - Version 10.2.0.4 and later
Information in this document applies to any platform.

Goal

To show how to use the GET method with UTL_HTTP.REQUEST function.

The difference between the GET and POST method is difficult to explain.We can say that the "GET" method is used when there are no visible side-effects on the data. In other words it is just used for retrieving the data.If there are any side-effects on the data like storing or updating, then the method "POST" must be used.

Note: Please refer to <Note 1052794.1> "Understanding UTL_HTTP With Help of Samples - Prerequisites and links" for the necessary prerequisites.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms