YoBatM commited on
Commit
2825c44
·
verified ·
1 Parent(s): 850c912

Update upload.sh

Browse files
Files changed (1) hide show
  1. upload.sh +2 -1
upload.sh CHANGED
@@ -7,4 +7,5 @@ if [ -z "$1" ] || [ -z "$2" ]; then
7
  fi
8
 
9
  archivo_entrada="$1"
10
- url="$2"
 
 
7
  fi
8
 
9
  archivo_entrada="$1"
10
+ url="$2"
11
+ curl -i -X "PUT" -d '{"file":$(cat $archivo_entrada | base64)}' -H "Content-Type: application/json" -H "Accept: application/json" $url