我正在实施 BestBuy API。我已经看到它的 JSON 回调 url。谁能告诉我xml回调网址?
我写了这个查询
String url = "https://api.bestbuy.com/v1/products((search="+keyWords+"))?apiKey=myApiKey&callback=XML_CALLBACK&format=xml";
但它给了我空指针异常
我正在实施 BestBuy API。我已经看到它的 JSON 回调 url。谁能告诉我xml回调网址?
我写了这个查询
String url = "https://api.bestbuy.com/v1/products((search="+keyWords+"))?apiKey=myApiKey&callback=XML_CALLBACK&format=xml";
但它给了我空指针异常
这是搜索文档的链接: https ://bestbuyapis.github.io/api-documentation/
这是一个使用 xml 响应按通配符产品名称搜索的 curl 示例:
curl -v 'https://api.bestbuy.com/v1/products(name=contigo*)?format=xml&show=sku,name,salePrice&apiKey=myApiKey'