Google FreeBase Api - 查询问题 [英] Google FreeBase Api - problems with querying
问题描述
我试图查询google freebase Api。这是我想要的查询: http://www.freebase.com/query?autorun=1&q=%22id%22:%22/m/0bth54%22, %22 / film / film / imdb_id%22:[] ,当我尝试搜索google api返回json时,它会引发此网址的错误:
googleapis.com/freebase/v1/mqlread?query= {{%22 / film / film / imdb_id%22:[],%22id%22:%22 / m / 027pfg%22}} 。我做错了什么?
- 错误的协议 - 必须是
https ::
- 缺少子域 -
www。
- 查询中存在无效的JSON
点击查询编辑器中的链接
按钮,它会为您提供一个可以剪切并粘贴的MQLread网址:
I am trying to query the google freebase Api. this is the query I want: http://www.freebase.com/query?autorun=1&q=%22id%22:%22/m/0bth54%22,%22/film/film/imdb_id%22:[] and when I try to search the google api to return json it raise error with this url: googleapis.com/freebase/v1/mqlread?query={{%22/film/film/imdb_id%22:[],%22id%22:%22/m/027pfg%22}} . What am I doing wrong??
There are three things wrong:
- wrong protocol - must be
https::
- missing subdomain -
www.
- invalid JSON in query
If you click on the Link
button in the query editor from your first URL, it'll give you an MQLread URL that you can just cut and paste:
这篇关于Google FreeBase Api - 查询问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!