|
var urlStr string = fmt.Sprintf("%s/%s", discordApi, "auth/login")
|
|
var urlStr string = fmt.Sprintf("%s/%s", discordApi, "auth/login")
|
|
req, err := http.NewRequest("POST", urlStr, bytes.NewBuffer([]byte(fmt.Sprintf(`{"email":"%s", "password":"%s"}`, email, password))))
|
|
req, err := http.NewRequest("POST", urlStr, bytes.NewBuffer([]byte(fmt.Sprintf(`{"email":"%s", "password":"%s"}`, email, password))))
|