Skip to content

Pick Lock

Glen Daniels edited this page Mar 25, 2020 · 6 revisions

POST /picklock/:userId

Requirements:

  • userId: user ID of lock owner
  • token: unique user token provided by PickPocket backend
  • guess: combination to check against lock code

Example request:

POST /picklock/Paul
Content-Type: application/json

{
    "token": "1e32c098-93cf-11e7-8bf1-e29045b92989",
    "guess": [2,3,2]
}

Example response:

{
    "result": {
        "close": 0,
        "correct": 3
    }
}
Clone this wiki locally