Add Invite on Bruno
This commit is contained in:
		
							parent
							
								
									42d6eaefd3
								
							
						
					
					
						commit
						04d65a09f4
					
				
							
								
								
									
										24
									
								
								bruno/Authsquare/Invite.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								bruno/Authsquare/Invite.bru
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					meta {
 | 
				
			||||||
 | 
					  name: Invite
 | 
				
			||||||
 | 
					  type: http
 | 
				
			||||||
 | 
					  seq: 7
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post {
 | 
				
			||||||
 | 
					  url: http://localhost:11000/api/auth/invite
 | 
				
			||||||
 | 
					  body: json
 | 
				
			||||||
 | 
					  auth: none
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					headers {
 | 
				
			||||||
 | 
					  Authorization: Bearer xx.xx.xx
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:json {
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    "roles":[2],
 | 
				
			||||||
 | 
					    "email":"user2@domain.com",
 | 
				
			||||||
 | 
					    "username":"admin2",
 | 
				
			||||||
 | 
					    "password":"mypassword"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -1,7 +1,7 @@
 | 
				
			|||||||
meta {
 | 
					meta {
 | 
				
			||||||
  name: Logout
 | 
					  name: Logout
 | 
				
			||||||
  type: http
 | 
					  type: http
 | 
				
			||||||
  seq: 7
 | 
					  seq: 8
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
post {
 | 
					post {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user