Skip to content
Browse files

Add information about auth parameter to README (#2166)

  • Loading branch information
xlaguna authored and emilyemorehouse committed May 28, 2019
1 parent 5250e6e commit f28ff933e491ad7b1dd77af6ad3abe126109bd9e
Showing with 2 additions and 0 deletions.
  1. +2 −0
@@ -304,6 +304,8 @@ These are the available config options for making requests. Only the `url` is re
// `auth` indicates that HTTP Basic auth should be used, and supplies credentials.
// This will set an `Authorization` header, overwriting any existing
// `Authorization` custom headers you have set using `headers`.
// Please note that only HTTP Basic auth is configurable through this parameter.
// For Bearer tokens and such, use `Authorization` custom headers instead.
auth: {
username: 'janedoe',
password: 's00pers3cret'

0 comments on commit f28ff93

Please sign in to comment.
You can’t perform that action at this time.