22 lines
352 B
HTTP
22 lines
352 B
HTTP
POST {{restapi-url}}site/login
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"username": "lgyenese",
|
|
"password": "digisoft"
|
|
}
|
|
|
|
###
|
|
|
|
POST {{restapi-url}}door/move
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Basic bGd5ZW5lc2U6ZGlnaXNvZnQ='
|
|
|
|
{
|
|
"cardNumber": "10WMVXMZ",
|
|
"direction": "IN",
|
|
"device": "Q"
|
|
}
|