Go's http.Request has SetBasicAuth(). That can be used by http.Client when calling Do. It would be nice to have the same in restful lib.
Similarly, handler function receives request and BasicAuth within to authenticate user. That is not available in Lambda. Though that may be better being done by an API GW.
Go's
http.Request
hasSetBasicAuth()
. That can be used byhttp.Client
when callingDo
. It would be nice to have the same in restful lib.Similarly, handler function receives request and
BasicAuth
within to authenticate user. That is not available in Lambda. Though that may be better being done by an API GW.