MCPcopy Index your code
hub / github.com/TruthHun/DocHub / post

Method post

models/ElasticSearchModel.go:484–486  ·  view source on GitHub ↗

post请求

(api string)

Source from the content-addressed store, hash-verified

482
483//post请求
484func (this *ElasticSearchClient) post(api string) (req *httplib.BeegoHTTPRequest) {
485 return httplib.Post(api).Header("Content-Type", "application/json").SetTimeout(this.Timeout, this.Timeout)
486}
487
488//delete请求
489func (this *ElasticSearchClient) delete(api string) (req *httplib.BeegoHTTPRequest) {

Callers 6

InitMethod · 0.95
SearchMethod · 0.95
BuildIndexByBuckMethod · 0.95
BuildIndexMethod · 0.95
dochub.jsFile · 0.80
dochub.jsFile · 0.80

Calls 1

PostMethod · 0.80

Tested by

no test coverage detected