Construct headers for a HIBP request. [Optional] Change the agent to make the request bespoke to you.

HIBP_headers(agent = "HIBPwned R pkg")

Arguments

agent

The user agent the API call should run under

Value

headers

Examples

HIBP_headers()
#> $`api-version` #> [1] "2" #> #> $`User-Agent` #> [1] "HIBPwned R pkg" #>