[Developers] Using CURL for freebase login
Matthew Chan
talcite at gmail.com
Mon Jun 15 22:03:10 UTC 2009
Hi,
I've tried all day to get freebase to respond to my php authentication
function.
I've narrowed it down to my Curl query I think. Does anyone know what is
wrong with this?
Thanks in advanced.
Matt
[matthew at laptop php]$ curl --data-urlencode "{'username':'****',
'password':'****'}" http://sandbox.freebase.com/api/account/login
{
"code": "/api/status/error",
"messages": [
{
"code": "/api/status/error/input/invalid",
"info": {
"field": "username",
"value": null
},
"message": "Missing value"
},
{
"code": "/api/status/error/input/invalid",
"info": {
"field": "password",
"value": null
},
"message": "Missing value"
}
],
"status": "400 Bad Request",
"transaction_id":
"cache;cache01.sandbox.sjc1:8101;2009-06-15T20:54:52Z;0002"
More information about the Developers
mailing list