forked from sfu-innovation/WifiLocator
-
Notifications
You must be signed in to change notification settings - Fork 0
[SERVER] Accepts
jrf2 edited this page May 30, 2012
·
4 revisions
General Status Code:
10: Crash/Exception, View Error Log for Details
11: No JSON received
12: request not recognized
[accept friendship request]: gets zone information and updates users location
-
BODY: {"request_id" : 1}
-
RESPONSE:
{
"status": 0,
"requests":
[
{
"friend_name": "Alex",
"request_id": "32"
},
{
"friend_name": "Jordan",
"request_id": "33"
}
]
} -
STATUS:
0: success (friendship created, friendrequest delete)
1: request not found