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

Function PostJSON

util/http.go:121–123  ·  view source on GitHub ↗

PostJSON post json 数据请求

(uri string, obj interface{})

Source from the content-addressed store, hash-verified

119
120// PostJSON post json 数据请求
121func PostJSON(uri string, obj interface{}) ([]byte, error) {
122 return PostJSONContext(context.Background(), uri, obj)
123}
124
125// PostJSONWithRespContentType post json 数据请求,且返回数据类型
126func PostJSONWithRespContentType(uri string, obj interface{}) ([]byte, string, error) {

Callers 15

AccountAddMethod · 0.92
AccountDelMethod · 0.92
AccountUpdateMethod · 0.92
AccountPagingMethod · 0.92
AddContactWayMethod · 0.92
GetCorpStatisticMethod · 0.92
GetServicerStatisticMethod · 0.92
AddKnowledgeGroupMethod · 0.92
DelKnowledgeGroupMethod · 0.92
ModKnowledgeGroupMethod · 0.92
ListKnowledgeGroupMethod · 0.92
AddKnowledgeIntentMethod · 0.92

Calls 1

PostJSONContextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…