Closed
Description
Hello,
I am currently building a small tool with resty. It seems to work as expected but I get the following error:
WARN RESTY Using sensitive credentials in HTTP mode is not secure. Use HTTPS
I am following the documentation and tried setting client.SetBaseURL with https values aswell as
res, err := client.R(). EnableTrace(). SetBasicAuth(os.Getenv("...."), os.Getenv("....")). Get("https://API......")
In the trace Information I can see that the full URL including https is set.
Is there maybe an error checking for the raw scheme? r.RawRequest.URL.Scheme == "http"
?
Kindly
Lukas