| 1234567891011121314151617181920 | 
							- package main
 
- import (
 
- 	"fmt"
 
- 	"net/http"
 
- 	"strings"
 
- )
 
- func main() {
 
- 	body := `{"userinfo":"tmr.shengmu23.bbc","openid":"123"}`
 
- 	resp, err := http.Post("http://kpttest.kptyun.com/userwxopenid/binding",
 
- 		"application/json", strings.NewReader(body))
 
- 	if err != nil {
 
- 		panic(err)
 
- 	}
 
- 	defer resp.Body.Close()
 
- 	fmt.Printf("%+v\n", resp)
 
- }
 
 
  |