diff --git a/asset.go b/asset.go index 95d30d2..fd5e1ff 100644 --- a/asset.go +++ b/asset.go @@ -58,7 +58,9 @@ func (s *Session) CreateAsset(options *AssetUploadOptions, f io.Reader) (AssetUp endpoint.RawQuery = query.Encode() req, err := http.NewRequest("POST", endpoint.String(), f) - req.Header.Set("user-agent", "Roblox") + req.Header.Set("user-agent", "Roblox/WinInet") + req.Header.Set("content-type", "application/xml") + req.Header.Set("accept", "application/json") // Perform request resp, err := s.client.Do(req)