Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
965535a403 |
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user