MCPcopy Create free account
hub / github.com/auth0/auth0-cli / NewRequest

Method NewRequest

internal/auth0/http_client.go:13–13  ·  view source on GitHub ↗

NewRequest returns a new HTTP request. If the payload is not nil it will be encoded as JSON.

(ctx context.Context, method, uri string, payload interface{}, options ...management.RequestOption)

Source from the content-addressed store, hash-verified

11 // NewRequest returns a new HTTP request.
12 // If the payload is not nil it will be encoded as JSON.
13 NewRequest(ctx context.Context, method, uri string, payload interface{}, options ...management.RequestOption) (*http.Request, error)
14
15 // Do triggers an HTTP request and returns an HTTP response,
16 // handling any context cancellations or timeouts.

Callers 4

FetchUserInfoFunction · 0.80
apiCmdRunFunction · 0.80
sendEventMethod · 0.80

Calls

no outgoing calls

Tested by 1