basicAuth

fun basicAuth(username: String, password: String): Request

adds the basic Authorization header for the given username and password

Parameters

username

name of the user

password

password of the user