开发者

Get JSON from aspx URL

I am presently trying to get a json response from a url, so that I can load the JSON data into a spreadsheet.

This seems to work fine in the developer tools window of Chrome (if I view the XHR requests after changing the number of rows visible, I can see the json in full).

The problem is, I am not familiar with asp, so I can not work out the correct syntax for the url so that I can get this json directly.

You will see the xhr request if you go to http://zulutrade.com/TradeHistoryIndividual.aspx?pid=24508 and change the number of trades visible.

Could somebody possibly tell me how to structure the full url (i.e. so that it includes the request开发者_运维百科 payload)?

Thanks!

EDIT: I should have mentioned that I have tried using http://zulutrade.com/WebServices/Performance.asmx/GetProviderTrades but this clearly does not work as I am unsure how to add the request data - I also tried http://zulutrade.com/WebServices/Performance.asmx/GetProviderTrades?providerId=24508 but this resulted in an error.


You need to set a webservice reference to create a service proxy class. This is done via the WSDL that the service returns.

Here is the proper url for that:

http://zulutrade.com/WebServices/Performance.asmx?WSDL

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜