BootstrapAdminRequest sends a request to the given server type, and returns the response.
(t *testing.T, sc *ServerContext, method, path, body string)
| 98 | |
| 99 | // BootstrapAdminRequest sends a request to the given server type, and returns the response. |
| 100 | func BootstrapAdminRequest(t *testing.T, sc *ServerContext, method, path, body string) boostrapResponse { |
| 101 | return doBootstrapAdminRequest(t, sc, method, path, body, nil) |
| 102 | } |
| 103 | |
| 104 | // BootstrapAdminRequestWithHeaders sends a request to the given server type with custom headers, and returns the response. |
| 105 | func BootstrapAdminRequestWithHeaders(t *testing.T, sc *ServerContext, method, path, body string, headers map[string]string) boostrapResponse { |