mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-10-31 10:37:13 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			330 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			330 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Bad Account (login fails if user does not exist)
 | |
| POST {{host}}/sessions
 | |
| {
 | |
|     "login": "i-don-t-exist",
 | |
|     "password": "pass"
 | |
| }
 | |
| HTTP 404
 | |
| 
 | |
| # Invalid username
 | |
| POST {{host}}/sessions
 | |
| {
 | |
|     "login": "invalid-username-user",
 | |
|     "password": "pass"
 | |
| }
 | |
| HTTP 404
 | |
| 
 | |
| # Me cant be accessed without an account
 | |
| GET {{host}}/users/me
 | |
| HTTP 401
 |