...
The curl examples will use this format:
Code Block |
---|
curl -ssS \ -H 'Authorization: Bearer <token>' \ -d '<data>' \ 'http://<unimus-address>:8085/api/v2/<API-path>' | json_pp |
Explanation:
-s sS : makes curl run silent - not show request processing, etc., but still properly show errors
-H : adds HTTP headers needed to communicate with Unimus API
-d : data needed for various requests - not always needed
...