我正在实现BestBuy应用程序接口。我已经看到它是JSON回调url。谁能告诉我xml回调url?
我写了这个查询
String url = "https://api.bestbuy.com/v1/products((search="+keyWords+"))?apiKey=myApiKey&callback=XML_CALLBACK&format=xml";但是它给了我一个空指针异常
发布于 2016-07-29 02:47:18
以下是搜索文档的链接: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'https://stackoverflow.com/questions/38631877
复制相似问题