mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05: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
 |