Created
January 5, 2022 07:42
-
-
Save h1z3y3/c3e4c4588b241988315d8e56c94eeb3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
req, _ := http.NewRequest("GET", "http://your_link_url", nil) | |
req.Header.Set("Authorization", fmt.Sprintf("Bearer xxxxxxxx")) | |
req.Header.Set("Content-Type", "application/json") | |
client := &http.Client{} | |
resp, _ := client.Do(req) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment