web services - What's wrong with Yahoo finance webservice v1? API changed? -


i used type in browser : http://finance.yahoo.com/webservice/v1/symbols/yhoo,aapl/quote?bypass=true&format=json&view=detail , parse answer...

it's not working anymore, see: has yahoo finance web service disappeared? api changed? down temporarily?

the command

curl -a "mozilla/5.0 (linux; android 6.0.1; motog3 build/mpi24.107-55) applewebkit/537.36 (khtml, gecko) chrome/51.0.2704.81 mobile safari/537.36" http://finance.yahoo.com/webservice/v1/symbols/yhoo,aapl/quote?bypass=true&format=json&view=detail 

gives

not valid parameter.

any idea what's wrong in request?

any idea on way send http request directly works in desktop browser?

if use headers below in request, work...

"user-agent":"mozilla/5.0 (iphone; cpu iphone os 9_3 mac os x) applewebkit/601.1.46 (khtml, gecko) version/9.0 mobile/13e230 safari/601.1" 

Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -