Documentation ¶
Index ¶
- func BasicAuth(username, password string) string
- func CreateAndExecuteJSONRequest(processTitle string, method string, url string, body interface{}, ...) (string, *http.Response, error)
- func CreateRequest(method string, url string, body interface{}, headers map[string]string) (*http.Request, error)
- func ExecuteRequest(req *http.Request, output interface{}, timeoutInSeconds int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndExecuteJSONRequest ¶
func CreateAndExecuteJSONRequest(processTitle string, method string, url string, body interface{}, headers map[string]string, timeoutInSeconds int, output interface{}) (string, *http.Response, error)
CreateAndExecuteJSONRequest will execute an HTTP request from json
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.