add avatar upload
This commit is contained in:
@@ -11,7 +11,6 @@ func PostRequest(url string, body io.Reader, header http.Header) ([]byte, error,
|
||||
client := http.Client{}
|
||||
req, err := http.NewRequest("POST", url, body)
|
||||
req.Header = header
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
|
||||
resp, err := client.Do(req)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user