Merge branch 'main' into fix/home-redirect
This commit is contained in:
		
				commit
				
					
						33f962a02c
					
				
			
		
					 1 changed files with 18 additions and 0 deletions
				
			
		
							
								
								
									
										18
									
								
								backend/requests/user.http
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								backend/requests/user.http
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,18 @@
 | 
				
			||||||
 | 
					### Get User by ID
 | 
				
			||||||
 | 
					GET http://localhost:8080/user/52cc0208-a3bd-4367-94c5-0404b016a003
 | 
				
			||||||
 | 
					Authorization: Bearer {{token}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Get current user with token
 | 
				
			||||||
 | 
					GET http://localhost:8080/user
 | 
				
			||||||
 | 
					Authorization: Bearer {{token}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Create User
 | 
				
			||||||
 | 
					POST http://localhost:8080/user
 | 
				
			||||||
 | 
					Content-Type: application/json
 | 
				
			||||||
 | 
					Authorization: Bearer {{token}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "keycloakId": "52cc0208-a3bd-4367-94c5-0404b016a003",
 | 
				
			||||||
 | 
					  "username": "john.doe"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Reference in a new issue