How to embed the username and password within the https request?

How do I pass “Basic Authorization” embeded in the http request?