Commit 172f3cc3 authored by root's avatar root
parents af50605f 10c5284b
......@@ -70,7 +70,7 @@ func HttpAuth(authReqInfo authz.AuthRequestInfo) bool {
bytesData, _ := json.Marshal(authReqInfo)
fmt.Println(bytesData)
fmt.Println(authReqInfo)
req, _ := http.NewRequest("POST", authUrl, bytes.NewReader(authReqInfo))
req, _ := http.NewRequest("POST", authUrl, bytes.NewReader(bytesData))
resp, _ := client.Do(req)
defer resp.Body.Close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment