White Papers

15 Implementation of the DMTF Redfish API on Dell EMC PowerEdge Servers
iDRAC Redfish authenticated server details access
3.2 Accessing Redfish by using the cURL application
Interacting with Redfish using scripting tools can be extremely powerful. The following examples use a Dell
Latitude E7440 running Ubuntu to access the Redfish API from the command line using the cURL application.
cURL is a powerful open source command line tool for interacting with various web-based services. It
supports both HTTP and HTTPS in addition to other protocols. In the case of Redfish, cURL can be used to
test the availability and function of the REST interface.
Supplying cURL with the iDRAC IP address and the Redfish root will access the service root. If the server has
a self-signed certificate, as in this case, the certificate check can be skipped using the cURL option “-k”.
Command:
curl "https://<iDRAC IP>/redfish/v1/" -k
Response: