Note

To use these examples you will need to install httpie to make requests and jq to parse responses. httpie has netrc support so each request submits Basic Authentication with it. For Pulp’s defaults the .netrc would have the following configuration:

machine localhost
login admin
password admin

Note

To make these workflows copy/paste-able, we make use of environment variables. The first variable to set is the hostname and port:

export BASE_ADDR=http://<hostname>:24817