MCPcopy Create free account
hub / github.com/UiPath/uipathcli / NewHttpGetRequest

Function NewHttpGetRequest

utils/network/http_request.go:19–21  ·  view source on GitHub ↗
(url string, authorization *Authorization, header http.Header)

Source from the content-addressed store, hash-verified

17}
18
19func NewHttpGetRequest(url string, authorization *Authorization, header http.Header) *HttpRequest {
20 return NewHttpRequest(http.MethodGet, url, authorization, header, &bytes.Buffer{}, -1)
21}
22
23func NewHttpPostRequest(url string, authorization *Authorization, header http.Header, body io.Reader, contentLength int64) *HttpRequest {
24 return NewHttpRequest(http.MethodPost, url, authorization, header, body, contentLength)

Callers 11

downloadMethod · 0.92
downloadMethod · 0.92
createReadUrlRequestMethod · 0.92
createWriteUrlRequestMethod · 0.92

Calls 1

NewHttpRequestFunction · 0.85

Tested by

no test coverage detected