From 965535a403f8ca5731e0d4a3a6f5e653d1d4a990 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Wed, 13 Sep 2023 13:47:53 -0400 Subject: [PATCH] removed content-type in get request --- json/helper.go | 1 - 1 file changed, 1 deletion(-) diff --git a/json/helper.go b/json/helper.go index 3739e3e..1a6c69f 100644 --- a/json/helper.go +++ b/json/helper.go @@ -16,7 +16,6 @@ func Get(uri string, authName string, authValue string, queries map[string]strin client := &http.Client{} request.Header.Set("Accept", "application/json") - request.Header.Set("Content-Type", "application/json") request.Header.Set("Authorization", fmt.Sprintf("%s %s", authName, authValue)) if len(queries) > 0 {