例如我想试试用studygolang连上微信公共平台,公共平台那边将会给我发一个GET请求,里面包涵了token、timestamp、nonce参数,我该如何获取这三个参数?
假设它的请求地址是:121.121.121.121/wechat
更多评论
在 `net/http` 包中,Request 结构中有说明:
// Form contains the parsed form data, including both the URL
// field's query parameters and the POST or PUT form data.
// This field is only available after ParseForm is called.
// The HTTP client ignores Form and uses Body instead.
Form url.Values
// PostForm contains the parsed form data from POST or PUT
// body parameters.
// This field is only available after ParseForm is called.
// The HTTP client ignores PostForm and uses Body instead.
PostForm url.Values
#2