basicAuth

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

adds the basic Authorization header for the given username and password

Parameters

password

password of the user

username

name of the user