Commit a4fd7e7d authored by liugaoling's avatar liugaoling

authorization

parent fd5d39a1
...@@ -70,8 +70,6 @@ func HttpAuth(authReqInfo authz.AuthRequestInfo) bool { ...@@ -70,8 +70,6 @@ func HttpAuth(authReqInfo authz.AuthRequestInfo) bool {
bytesData, _ := json.Marshal(authReqInfo) bytesData, _ := json.Marshal(authReqInfo)
req, _ := http.NewRequest("POST", authUrl, bytes.NewReader(bytesData)) req, _ := http.NewRequest("POST", authUrl, bytes.NewReader(bytesData))
req.Header.Set("authorization", "Basic 698c05d4-1f53-4ecd-a36c-82dc705086bd")
resp, _ := client.Do(req) resp, _ := client.Do(req)
defer resp.Body.Close() 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