Basic auth request curl

HTTP request with Basic Authentication

curl -s -u user:password https://api.example.com/endpoint | jq .