added tool for querying requests
This commit is contained in:
parent
33c6813b87
commit
6e48bd015c
2 changed files with 20 additions and 0 deletions
3
tools/mimeul
Executable file
3
tools/mimeul
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
MIME=$(file -i "$1" | cut -f1 -d" " --complement)
|
||||
curl -H "Authorization: $AUTH_KEY" $DEPLOY_HOST/$2 -F "u=@$1;type=$MIME"
|
||||
Loading…
Add table
Add a link
Reference in a new issue