MCPcopy Create free account
hub / github.com/TributePaulWalker/Profiles / http

Function http

JavaScript/Surge/ConnectivityTest.js:31–40  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

29})();
30
31function http(req) {
32 return new Promise((r) => {
33 let time = Date.now();
34 $httpClient.post($[req], (err, resp, data) => {
35 r(req +
36 '\xa0\xa0\xa0\t: ' +
37 (Date.now() - time)+' ms');
38 });
39 });
40}

Callers 1

Calls 1

postMethod · 0.45

Tested by

no test coverage detected