Discover Packages
github.com/alienong/DevelopKit
net
http
package
Version:
v0.0.0-...-bd7d7c7
Opens a new window with list of versions in this module.
Published: Jun 9, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func HttpGet(url string) (string, error)
func HttpGetHasCookie(url, cookie, param string) (string, []string, error)
func HttpPost(url, cookie, param, contentType string) (string, []string, error)
*
@description: Just Url Get Request
@param url: url
@return: result and error
*
@description: Http Get Request Has Cookie
@param url: url
@param cookie: cookie string
@param param: param
@return: result and error
*
@description: Http Post Request Has Cookie
@param url: url
@param cookie: cookie string
@param param: param
@param contentType: Content-Type e.g. application/json,application/x-www-form-urlencoded
@return: result and cookie and error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.