/user/willmoffat/apps/t_mqlread_redirect rename

author:

contributor:

published:

updated:

source uri:

Acre Doc /freebase/acre_doc

Handler:

Default Configuration:

Acre Doc /freebase/acre_doc

Handler:

Default Configuration:

Summary


//TODO: what is the first arg here
acre.load('libWill','http://www.freebase.com/api/trans/raw/user...

Content


//TODO: what is the first arg here
acre.load('libWill','http://www.freebase.com/api/trans/raw/user/willmoffat/apps/libWill');

if (!query) { die('query not specified'); }

var q=JSON.parse(query);
if (!q.query) { q = {"query":q}; } // make sure the query is wrapped with "query":{...}
var query_json = JSON.stringify(q);

var uri = 'http://www.freebase.com/api/service/mqlread?query='+query_json;
acre.start_response(301, { 'Location': uri });

Created by: willmoffat Apr 2, 2008
Last edited by: Constant Gardener Process Aug 18, 2009

Recent Discussions about None

There is no discussion about this document.

Start the Discussion »
Explore the Data
View all the data we have for /user/willmoffat/apps/t_mqlread_redirect
Flag this Document
Why do you want to flag this document?