发送http请求,需要携带token数据,创建Header传输
Header header = Header.create();
header.set("Authorization", "Bearer " + token); // 携带token
response = Http.get(requestUrl, header, 60 * 1000);
本文来自博客园,作者:瓜皮通,转载请注明原文链接:https://www.cnblogs.com/tong-notes/p/17023756.html