 6727e9dbd9
			
		
	
	
		6727e9dbd9
		
	
	
	
	
		
			
			This commit changes APIs and requires and update of all zephyr mirroring bots to deploy properly. (imported from commit 2672d2d07269379f7a865644aaeb6796d54183e1)
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			459 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			459 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| # Two quick API tests using curl
 | |
| 
 | |
| curl https://humbughq.com/api/v1/send_message \
 | |
|     -d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
 | |
|     -d "email=tabbott@humbughq.com" \
 | |
|     -d "type=private" -d "content=test" \
 | |
|     -d "to=tabbott@humbughq.com"
 | |
| 
 | |
| curl https://humbughq.com/api/v1/get_messages \
 | |
|     -d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
 | |
|     -d "email=tabbott@humbughq.com"
 | |
| 
 | |
| # Or replace https://humbughq.com with your local test instance
 |