more bugfixes
parent
3869c5f2be
commit
d8a7b65a4b
|
|
@ -21,7 +21,9 @@ func KickSession(strean_name, session_id string) {
|
|||
|
||||
jsonValue, _ := json.Marshal(values)
|
||||
|
||||
_, err := http.Post(url, "application/json", bytes.NewBuffer(jsonValue))
|
||||
resp, err := http.Post(url, "application/json", bytes.NewBuffer(jsonValue))
|
||||
|
||||
fmt.Printf("KickSession status code: %d\n", resp.StatusCode)
|
||||
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
|
|||
Loading…
Reference in New Issue