mirror of
				https://github.com/9001/copyparty.git
				synced 2025-10-26 18:22:43 -06:00 
			
		
		
		
	also includes a slight tweak to the json upload info: when exactly one file is uploaded, the json-response has a new top-level property, `fileurl` -- this is just a copy of `files[0].url` as a workaround for castdrian/ishare#107 ("only toplevel json properties can be referenced")
		
			
				
	
	
		
			11 lines
		
	
	
		
			220 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			220 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| {
 | |
|   "Name": "copyparty",
 | |
|   "RequestURL": "http://127.0.0.1:3923/screenshots/",
 | |
|   "Headers": {
 | |
|     "pw": "PUT_YOUR_PASSWORD_HERE_MY_DUDE",
 | |
|     "accept": "json"
 | |
|   },
 | |
|   "FileFormName": "f",
 | |
|   "ResponseURL": "{{fileurl}}"
 | |
| }
 |