There are some shell scripts for data discovery, and some URLs to query products by attributes (time range, product, area of interest, etc.) However, it is not mentioned how to generate an HTTP login request
From the web interface (Copernicus Open Access Hub, accessible from https://scihub.copernicus.eu/dhus ), i can track the HTTP network to see the parameters required by the server to authenticate an user. It seems that it is mantadory to send in a form data login and password, plus a _ga cookie, which value I coudnt generate. But it must be an easier way. Unfortunately the login step is not defined among the API operations.
Do you have experience consuming either the OpenSearch API or the OpenData API? How do you authenticate yourselves from a web environment before launching your queries?
The documentation you attach specifies how to add username and password through cURL or Wget. If you are interested in consuming it from any other programming language you can take a look at HttpClient and Basic Authentication.
Finally, in principle you could use URL encoding, although it is/will be deprecated: