Users
Name | Description |
---|---|
id | Id or 'me' |
token | token |
phone | phone |
Content-Type: application/json Host: example.org Cookie:
POST /api/v1/users/lookup
{"token":"foobar192","phone":"+33600000191"}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY Content-Type: application/json; charset=utf-8 ETag: W/"9e6ae5621f892ac8a98915d398aaa04f" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 4f760855-57a4-497d-8442-1f9453e1229f X-Runtime: 0.006454 Content-Length: 39
200 OK
{ "status": "found", "secret_type": "code" }