View definition

(*SuperAgent).SetBasicAuth

Defined in github.com/parnurzeal/gorequest/gorequest.go

Description

SetBasicAuth sets the basic authentication header Example. To set the header for username "myuser" and password "mypass"

gorequest.New()
  Post("/gamelist").
  SetBasicAuth("myuser", "mypass").
  End()

SetBasicAuth is referenced in 13 repositories

github.com/parnurzeal/gorequest github.com/pathwar/go-pathwar github.com/haoxins/supertest

...