A quick showcase of how cURL can be used to explore the various calls available on our REST API.
We will here show how cURL can be used to interact with our REST API. As an example, Basic Auth will be used to authenticate a GET request that fetches a list of available projects. All available endpoints are listed in our REST API Reference.
cURL is a command-line tool that can be used to easily make arbitrary HTTP requests. This includes our entire API which can be accessed via a single cURL command. Detailed information about the parameters used can be found under cURLs manpage, man curl.
The tool comes preinstalled on most Linux and Mac systems. You can verify the install by opening your favorite shell and typing which curl , and are otherwise readily available in most package managers.
Debian-based distributions:apt install curl
Arch-based distributions:pacman -S curl
Mac:brew install curl
Windows: The cURL client binary can be found here.
The following command will fetch a list of all available projects for a Service Account.
curl -X GET "https://api.disruptive-technologies.com/v2/projects"\