thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Foundational

cURL

A command-line tool and library for transferring data with URLs, widely used to test HTTP APIs.

Definition

Common options: -X method, -H header, -d data, -u user:pass, -k skip TLS verification (lab only), -i include headers, and -s silent.

Example

curl -s -u admin:pass -H 'Accept: application/yang-data+json' https://r1/restconf/data/ietf-interfaces:interfaces

Exam tip

-H sets headers; -d sends a body and implies POST unless -X changes it.

Related terms