MCPcopy Create free account
hub / github.com/ZeStream/zestream-server / makeRequest

Function makeRequest

controllers/test.go:32–38  ·  view source on GitHub ↗

* MakeRequest is a helper function that creates an HTTP request and sends it to the router, returning the response that the router returns. It takes in three arguments: - method: the HTTP method to use (e.g. "GET", "POST") - url: the URL to send the request to - body: the request body, which w

(method, url string, body interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestPingFunction · 0.85

Calls 1

routerFunction · 0.85

Tested by 1

TestPingFunction · 0.68