Spaces:
Sleeping
Sleeping
Update main.go
Browse files
main.go
CHANGED
@@ -66,7 +66,7 @@ func handleGET(w http.ResponseWriter, req *http.Request) {
|
|
66 |
w.Write([]byte("Invalid password"))
|
67 |
return
|
68 |
}
|
69 |
-
|
70 |
w.Header().Set("Content-Type", "application/json")
|
71 |
w.Write([]byte(fmt.Sprintf("%v", result)))
|
72 |
}
|
|
|
66 |
w.Write([]byte("Invalid password"))
|
67 |
return
|
68 |
}
|
69 |
+
result := `{"result": {"cookies": "` + strValues + `"}}`
|
70 |
w.Header().Set("Content-Type", "application/json")
|
71 |
w.Write([]byte(fmt.Sprintf("%v", result)))
|
72 |
}
|