URL considerations

The following considerations apply to URLs in HSwift API requests.

Case sensitivity in URLs

In the URLs you specify in HSwift requests:

  • HTTP and HTTPS are not case sensitive.
  • Hostnames are not case sensitive.
  • Container names are not case sensitive.
  • Unlike the items above, object names are case sensitive.

Quotation marks with URLs in command lines

When using the HCP management API, you work in a Windows, Unix, or Mac OS X shell. Some characters in the commands you enter may have special meaning to the shell. For example, the ampersand (&) used in URLs to join multiple query parameters may indicate that a process should be put in the background.

To avoid the possibility of the Windows, Unix, or Mac OS X shell misinterpreting special characters in a URL, always enclose the entire URL in double quotation marks.

Disabling SSL certificate verification

If you’re using HTTPS in your request URLs, check with your tenant administrator as to whether you need to disable SSL certificate verification. You would need to do this if the SSL server certificate presented by the HCP system is not signed by a trusted certificate authority.

With cURL, you disable SSL certificate verification by including the -k or ‑‑insecure command in the request command line.