To send cURL with Basic Auth, you need to use the -u option with "login:password" where "login" and "password" are your credentials.
Here is a cURL Basic Auth example that sends a GET request to our hosted version of HTTPBin with Basic Auth credentials:
curl https://httpbin.s...