mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-17 04:05:09 +00:00
up
This commit is contained in:
1 parent
d276319c7a
commit
dc86980a04
103 files changed
+2226
-1560
No files matched your search
@@ -39,7 +39,7 @@ public class HttpClientUtil {
|
||||
|
||||
public static HttpResObj get(String path, String data) {
|
||||
try {
|
||||
data = URLEncoder.encode(data, "UTF-8");
|
||||
data = URLEncoder.encode(data, StandardCharsets.UTF_8.name());
|
||||
Request request = new Request.Builder().url(path + data)
|
||||
.addHeader("referer", "https://music.163.com")
|
||||
.addHeader("content-type", "application/json;charset=UTF-8")
|
||||
|
||||
Reference in new issue
Block a user