1、Base64获取接口验证authorization
String authorization = "Basic " + java.util.Base64.getEncoder().encodeToString(authorizationInfo.getBytes());
2、将authorization 放进请求头参数中
.header("Authorization", authorization)
标签:验证,Base64,接口,encodeToString,获取,authorization From: https://www.cnblogs.com/wwssgg/p/17049194.html