12345678910111213 |
- package util
- import (
- "fmt"
- "testing"
- )
- func Test_PostWithFormData(t *testing.T){
- postData := make(map[string]string)
- postData["formData"] = "{}"
- data := PostWithFormData("POST", "http://120.48.30.31:88/kaps-cow/api/tmr/addOtherDevice", &postData)
- fmt.Println(data)
- }
|