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

Method PostForm

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

Source from the content-addressed store, hash-verified

115}
116
117func (target HttpClient) PostForm(reqUrl string,
118 reqParams map[string]interface{}, headers map[string]string) (string, error) {
119 return postRetry(target, reqUrl, reqParams, "application/x-www-form-urlencoded", nil, headers)
120}
121
122func (target HttpClient) PostFile(reqUrl string,
123 reqParams map[string]interface{}, files []UploadFile, headers map[string]string) (string, error) {

Callers

nothing calls this directly

Calls 1

postRetryFunction · 0.85

Tested by

no test coverage detected