A simple counter app where multiple users can login using a client and modify their counter by incrementing either up or down securely
There are 4 request URLs:
{
"id": "username",
"password": "pass",
"server": {
"ip": "127.0.0.1",
"port": 52660
},
"actions": {
"delay": 100,
"steps": [
"INCREASE 1", "INCREASE 1", "INCREASE 1", "DECREASE 1", "INCREASE 1"
]
}
}
Response:
{
"jwt": "1pass"
}
{
"id": "username",
"jwt": "1pass",
"amount": 1
}
Response:
{
"counter": 1
}
{
"id": "username",
"jwt": "1pass",
"amount": 1
}
Response:
{
"counter": 1
}
{
"id": "username",
"jwt": "1pass"
}
Response:
{
"id": "username"
}