MCPcopy
hub / github.com/alibaba/anyproxy / directRequest

Function directRequest

test/util/HttpUtil.js:67–69  ·  view source on GitHub ↗
(method = 'GET', url, params, headers = {})

Source from the content-addressed store, hash-verified

65 *
66 */
67function directRequest(method = 'GET', url, params, headers = {}) {
68 return doRequest(method, url, params, headers);
69}
70
71function directUpload(url, filepath, formParams = {}, headers = {}) {
72 return doUpload(url, 'POST', filepath, formParams, headers);

Callers 6

directGetFunction · 0.85
directPostFunction · 0.85
directPutFunction · 0.85
directDeleteFunction · 0.85
directHeadFunction · 0.85
directOptionsFunction · 0.85

Calls 1

doRequestFunction · 0.85

Tested by

no test coverage detected