YoBatM commited on
Commit
7e00826
·
verified ·
1 Parent(s): cc0105d

Update upload.sh

Browse files
Files changed (1) hide show
  1. upload.sh +1 -1
upload.sh CHANGED
@@ -8,4 +8,4 @@ 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
 
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