package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
url := "https://api.acme.dev/v1/customers/string"
payload := strings.NewReader(`{}`)
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}