To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorAanmelden als beheerder
Als PasNL-terminal
Wil ik kunnen inloggen
Zodat ik mijn beheer op een tablet kan uitvoeren.
- Background Create a remote manager and a program
-
- Given
- a program with name "301"
- And
- I have an user "martijn" with password "dekker"
- Scenarios
-
- Succesfull Login to trx2
- Cannot login with invalid username or password
- After every new login the token changes
- Succesfull Login to trx2
-
- When
-
I send a POST request to "/api/v1/admin/login" :
{ "username":"martijn", "password":"dekker" }
- Then
- the response should include this json parameter "api_key"
- And
- the response should include this json parameter "datetime_schememodified"
- Cannot login with invalid username or password
-
- When
- I login with a username username and password password
- Then
- the response should include this error message: errormessage
Examples: username password errormessage martinez dekker verkeerde username martijn dekke verkeerde wachtwoord foutieve invoer martijn foutieve invoer dekker foutieve invoer - After every new login the token changes
-
- When
-
I send a POST request to "/api/v1/admin/login" :
{ "username":"martijn", "password":"dekker" }
- Then
- I will receive an api_key
- And
-
I send a POST request to "/api/v1/admin/login" :
{ "username":"martijn", "password":"dekker" }
- Then
- I will receive a different api_key
Last published over 7 years ago by martijn dekker.