java中的window azure身份验证...
String bingUrl = "https://api.datamarket.azure.com/Bing/Search/Web?Query='multiple'&$top=4&$skip=1&$format=json";
String accountKey = "HEPgn2ahb407EMW/j5TXKs5umkO6VDlb8anWMq+O2=";
byte[] accountKeyBytes = Base64.encode((accountKey + ":" + accountKey).getBytes());
String accountKeyEnc = new String(accountKeyBytes);
URL urlb = new URL(bingUrl);
URLConnection urlConnection =urlb.openConnection();
urlConnection.setRequestProperty("Authorization","basic " + accountKeyEnc);
但这不起作用...这里的帐户密钥不是实际的