Well, the headline somewhat overhypes things BUT following on from my earlier post: -
I noted that one can get the URL of a Cloudant instance from the Manage -> Overview page: -
and copy the External Endpoint (preferred) URL.
When this URL is copied to the clipboard, it includes a trailing slash ( / ), which is totally fine.
Well, not necessarily.
I then go on to describe how that URL can be added to a $URL environment variable: -
and then use that for various cURL commands such as: -
curl -s -k -X GET -H 'Authorization: Bearer '"$ACCESS_TOKEN" $URL/music | json_pp