func main() {
	apiURL := "https://talaikis.com/api/quotes/random/"
	data := url.Values{}
	data.Set("name", "foo")
	data.Add("surname", "bar")
	u, _ := url.ParseRequestURI(apiURL)
	urlStr := u.String()  
	client := &http.Client{}
	r, _ := http.NewRequest("GET", urlStr, strings.NewReader(data.Encode()))  
	r.Header.Add("Authorization", "auth_token=\"XXXXXXX\"")
	r.Header.Add("Content-Type", "application/x-www-form-urlencoded")
	r.Header.Add("Content-Length", strconv.Itoa(len(data.Encode())))
	resp, _ := client.Do(r)
	fmt.Println(resp.Status)
	fmt.Println(resp.ContentLength)
	fmt.Println(resp.Header)
	defer resp.Body.Close()
	content, _ := ioutil.ReadAll(resp.Body)
	fmt.Println(string(content))
}
main is the entry point for the program.
package main
import (
	"fmt"
	"io/ioutil"
	"net/http"
	"net/url"
	"strconv"
	"strings"
)