MCPcopy
hub / github.com/silenceper/wechat / HTTPPost

Function HTTPPost

util/http.go:60–62  ·  view source on GitHub ↗

HTTPPost post 请求

(uri string, data string)

Source from the content-addressed store, hash-verified

58
59// HTTPPost post 请求
60func HTTPPost(uri string, data string) ([]byte, error) {
61 return HTTPPostContext(context.Background(), uri, []byte(data), nil)
62}
63
64// HTTPPostContext post 请求
65func HTTPPostContext(ctx context.Context, uri string, data []byte, header map[string]string) ([]byte, error) {

Callers 15

GetCorpOptionMethod · 0.92
GetPermListMethod · 0.92
SendMethod · 0.92
GetUserBehaviorDataMethod · 0.92
GetGroupChatStatMethod · 0.92
GetGroupChatStatByDayMethod · 0.92
GetCropTagListMethod · 0.92
AddCropTagMethod · 0.92
EditCropTagMethod · 0.92
DeleteCropTagMethod · 0.92
MarkTagMethod · 0.92

Calls 1

HTTPPostContextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…