Skip to content
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

  • POST: http://wifi-location.appspot.com/accept/friendship

  • 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


Clone this wiki locally