Use cURL

cURL is an open source, command-line tool for transferring data with URL syntax, supporting various protocols including HTTP and HTTPs.

For information about downloading and installing cURL, see Install cURL. For more information about authentication requirements, see Authentication.

Here is an example of a cURL command for retrieving details about an account promotion:

curl -i -X GET -u joe@example.com -H "X-ID-TENANT-NAME:myDomain"  https://itra.oraclecloud.com/metering/api/v1/promotions/a4357534/7828316295