diff --git a/handlers/meme.go b/handlers/meme.go index e7efb66ee..cb9ac7c7b 100644 --- a/handlers/meme.go +++ b/handlers/meme.go @@ -141,12 +141,16 @@ func SignChallenge(challenge string) db.RelaySignerResponse { func GetMemeToken(id string, sig string) (string, db.MemeTokenSuccess) { memeUrl := fmt.Sprintf("%s/verify", config.MemeUrl) + fmt.Println("MEME URL ===", memeUrl) + formData := url.Values{ "id": {id}, "sig": {sig}, "pubkey": {config.RelayNodeKey}, } + fmt.Println("TOKEN DATA ===", formData) + res, err := http.PostForm(memeUrl, formData) if err != nil { @@ -169,6 +173,7 @@ func GetMemeToken(id string, sig string) (string, db.MemeTokenSuccess) { return "", tokenSuccess } else { + fmt.Println("MEME TOKEN ERROR === ", err) var tokenError string // Unmarshal result