// SendHTTPRequest sends the given HTTP request using the options provided on the command-line.
SendHTTPRequest sends the given HTTP request using the options provided on the command-line.
// SendHTTPRequest sends the given HTTP request using the options provided on the command - line .
func SendHTTPRequest(cmd *cobra.Command, reqBytes []byte, method, endpointURL string) ([]byte, error) {
	client, err := newHTTPClient(cmd)
	if err != nil {
		return nil, err
	}
	return SendRequest(client, reqBytes, newAuthTokenHeader(cmd), method, endpointURL)
}
func SendHTTPRequest ( cmd * cobra . Command , reqBytes [ ] byte , method , endpointURL string ) ( [ ] byte , error ) { client , err := newHTTPClient ( cmd ) if err != nil { return nil , err } return SendRequest ( client , reqBytes , newAuthTokenHeader ( cmd ) , method , endpointURL ) }
SendHTTPRequest sends the given HTTP request using the options provided on the command-line.
SendHTTPRequest sends the given HTTP request using the options provided on the command - line .