MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / PostJson

Method PostJson

cli/pkg/common/http.go:112–115  ·  view source on GitHub ↗
(reqUrl string,
	reqParams map[string]interface{}, headers map[string]string)

Source from the content-addressed store, hash-verified

110}
111
112func (target HttpClient) PostJson(reqUrl string,
113 reqParams map[string]interface{}, headers map[string]string) (string, error) {
114 return postRetry(target, reqUrl, reqParams, "application/json", nil, headers)
115}
116
117func (target HttpClient) PostForm(reqUrl string,
118 reqParams map[string]interface{}, headers map[string]string) (string, error) {

Callers 6

CreateWsLogFunction · 0.80
getServerMenuFunction · 0.80
loginAndSaveTokenFunction · 0.80
Feedback_FinishFunction · 0.80
Feedback_PendingFunction · 0.80
Send_WorkspaceInfoFunction · 0.80

Calls 1

postRetryFunction · 0.85

Tested by

no test coverage detected