Here is one line shell script to test your Freebase cookie. (Replace the dummy cookie with your own cookie):
curl --globoff --cookie \\
'metaweb-user="Z|a_aaaaaaaaaa|a_#111...snip...111|1.aaZZZaZaZaaZZaZZ1aZ/ZZ"' \\
'http://www.freebase.com/api/service/mqlread?q={"query":[{"id":"/type/int"}]}'
You should see this result:
{
"status": "200 OK",
"query": {},
"code": "/api/status/ok",
"messages": [],
"result": {
"query": [
{
"id": "/type/int"
}
]
}
September 13, 2007 at 12:14 am
[...] Test your cookie using this shell one-liner [...]