"Carpe Diem"
import ( "net/http" "net/url" ) func reqPost() { postUrl := "http://example.com/test" values := make(url.Values) values.Set("name", "HongGilDong") values.Set("age", 31) req, _ := http.PostForm(postUrl, values) defer req.Body.Close() }
댓글 없음:
댓글 쓰기