2019-01-09 05:30:15 +01:00
|
|
|
127.0.0.1:3000/api/addNewUserView
|
|
|
|
|
|
|
|
{
|
|
|
|
"login": "B",
|
|
|
|
"password": "B"
|
|
|
|
}
|
|
|
|
#"[addNewUserView] Dodano uzytkownika do bazy"
|
|
|
|
|
|
|
|
{
|
|
|
|
"login": "B2",
|
|
|
|
"password": "B",
|
|
|
|
"test": "test"
|
|
|
|
}
|
|
|
|
"[addNewUserView] Dodano uzytkownika do bazy"
|
|
|
|
|
|
|
|
{
|
|
|
|
"password": "A",
|
|
|
|
"points": 11111
|
|
|
|
}
|
|
|
|
#"[addNewUserView][Error] Nie podano loginu"
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
"login": "A",
|
|
|
|
"password": "A"
|
|
|
|
}
|
|
|
|
|
|
|
|
#"Login zajęty"
|
|
|
|
|
|
|
|
{
|
|
|
|
"login": "A"
|
|
|
|
}
|
|
|
|
#"[addNewUserView][Error] Nie podano hasła"
|
2019-01-09 06:33:30 +01:00
|
|
|
################################################################
|
2019-01-09 05:30:15 +01:00
|
|
|
|
|
|
|
127.0.0.1:3000/api/updateUserPointsView
|
|
|
|
{
|
|
|
|
"login": "B2"
|
|
|
|
|
|
|
|
}
|
|
|
|
#"[updateUserPointsView] Dodano punkt"
|
|
|
|
|
|
|
|
{
|
|
|
|
"logine": "B2"
|
|
|
|
|
|
|
|
}
|
|
|
|
#"[updateUserPointsView][Error] Nie podano loginu"
|
|
|
|
|
|
|
|
{
|
|
|
|
"login": "B2333333333333"
|
|
|
|
|
|
|
|
}
|
|
|
|
#"[updateUserPointsView][Error] Brak uzytkownika w bazie"
|
|
|
|
|
|
|
|
|
2019-01-09 06:33:30 +01:00
|
|
|
################################################################
|
|
|
|
127.0.0.1:3000/api/loginUserView
|
2019-01-09 05:30:15 +01:00
|
|
|
|
2019-01-09 06:33:30 +01:00
|
|
|
{
|
|
|
|
"login": "B2",
|
|
|
|
"password": "B",
|
|
|
|
"test": "test"
|
|
|
|
}
|
|
|
|
#true
|
2019-01-09 05:30:15 +01:00
|
|
|
|
2019-01-09 06:33:30 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
"login": "B2",
|
|
|
|
"password": "B2",
|
|
|
|
"test": "test"
|
|
|
|
}
|
|
|
|
#false
|