0

I have a simple problem (but maybe tough answer), following: I want to call yahoo finance api from gae (under gaelyk). it is perfectly working in localmode but unfortunately when pushing to gae it fails. What is the reason? is google preventing from doing such things? Thanks for any leads or answers. (tip it is not tied to CORS unless yahoo does such things)

EnviableJimi

my call is: (params.symbol is populated accordingly as well as month, year and day)

def yahooUrl="http://ichart.finance.yahoo.com/table.csv?s=" + params.symbol +
"&a=" + (month+1)  +
"&b=" + day +
"&c=" + year   +
"&g=" + (params.resolution!=null?params.resolution.toLowerCase():"") +
"&ignore=.csv"
def content = new URL(yahooUrl).getText()
4

1 回答 1

0

问题已解决:它来自雅虎服务器的超时,因此出现 500 错误,

谢谢大家

于 2015-03-04T13:11:48.390 回答