-
Notifications
You must be signed in to change notification settings - Fork 244
DRAFT: Hello API
jmathai edited this page Jul 19, 2011
·
1 revision
Hello world.
Authentication: optional
GET /hello.json
None
curl http://jmathai.openphoto.me/hello.json
$ch = curl_init('http://jmathai.openphoto.me/hello.json');
curl_exec($ch);
The response is in a standard response envelope.
- message, A string describing the result. Don't use this for anything but reading.
- code, 200 on success
- result, A [Photo][Photo] object
{
"message":"",
"code":200,
"result":"Hello, world!"
}