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 collaboratorCheck Token
Check token validity.
- Scenarios
-
- Check a valid token
-
- Given
- the content-type is 'application/json'
- And
- the user is authenticated
- When
- a POST request is sent to '/authenticated/{valid_token}' without body
- Then
- a HTTP status code of 201 should be returned
- Check an invalid token
-
- Given
- the content-type is 'application/json'
- When
- a POST request is sent to '/authenticated/{invalid_token}' without body
- Then
- a HTTP status code of 404 should be returned
Last published almost 7 years ago by John James.