Skip to contents

Adds GitHub auth and accept headers to an httr2 request. The key is the one github_pat() returns, left out when GitHub refuses it (see api_key_status()).

Usage

.github_config(req)

Arguments

req

an httr2 request object

Value

the modified request