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

Method post

models/elasticsearch.go:612–614  ·  view source on GitHub ↗

post请求

(api string)

Source from the content-addressed store, hash-verified

610
611//post请求
612func (this *ElasticSearchClient) post(api string) (req *httplib.BeegoHTTPRequest) {
613 return httplib.Post(api).Header("Content-Type", "application/json").SetTimeout(this.Timeout, this.Timeout)
614}
615
616//delete请求
617func (this *ElasticSearchClient) delete(api string) (req *httplib.BeegoHTTPRequest) {

Callers 11

InitMethod · 0.95
SearchMethod · 0.95
BuildIndexByBuckMethod · 0.95
SetBookPublicMethod · 0.95
BuildIndexMethod · 0.95
SegWordsMethod · 0.95
DeleteIndexMethod · 0.95
openDeleteDocumentDialogFunction · 0.80
markdown.jsFile · 0.80
bookstack.jsFile · 0.80
main.jsFile · 0.80

Calls 1

PostMethod · 0.80

Tested by

no test coverage detected