cURL is an open source, command-line tool for transferring data with URL syntax, supporting various protocols including HTTP and HTTPS. The examples in this document use cURL to demonstrate how to access the Oracle Cloud Infrastructure Object Storage Classic REST API.
For information about downloading and installing cURL, see Quick Start.
For more information about authentication requirements, see Authentication.
The following example cURL command creates a container named
FirstContainer in the
bar service instance:
curl -v -X PUT \ -H "X-Auth-Token: AUTH_tkb4fdf39c92e9f62cca9b7c196f8b6e6b" \ https://foo.storage.oraclecloud.com/v1/myservice-bar/FirstContainer
Note:For information about the URLs to which you should send HTTP requests, see Send Requests.