August 2018
Intermediate to advanced
416 pages
12h 37m
English
We will issue the travis token command so that we can copy the access token to the system clipboard:
travis token
Next we will run the travis endpoint command and copy the URL:
travis endpointAPI endpoint: https://api.travis-ci.org/
We will make a curl request in the following manner:
curl -X GET \ -H "Content-Type: application/json" \ -H "Travis-API-Version: 3" \ -H "Authorization: token $(travis token)" \https://api.travis-ci.org/repos
Notice that in this curl request we used the travis token cli command that will return a valid token for this particular HTTP Header. This HTTP request will return a JSON response payload which we will use to copy a particular repo ID to make the following REST call to find all ...
Read now
Unlock full access