change mixdrop url
This commit is contained in:
parent
8b25a1f963
commit
f48ce27884
1 changed files with 2 additions and 2 deletions
|
|
@ -42,9 +42,9 @@ function mixdrop_check_if_file_is_alive () {
|
||||||
file_id=${file_id##*/}
|
file_id=${file_id##*/}
|
||||||
>&2 echo "File ID: $file_id"
|
>&2 echo "File ID: $file_id"
|
||||||
|
|
||||||
# >&2 echo "URL to call: https://api.mixdrop.co/fileinfo?email=$api_login&key=$api_key&ref[]=$file_id"
|
# >&2 echo "URL to call: https://api.mixdrop.club/fileinfo?email=$api_login&key=$api_key&ref[]=$file_id"
|
||||||
|
|
||||||
response=$(curl -s -X GET "https://api.mixdrop.co/fileinfo?email=$api_login&key=$api_key&ref[]=$file_id" -H "Content-Type: multipart/form-data")
|
response=$(curl -s -X GET "https://api.mixdrop.club/fileinfo?email=$api_login&key=$api_key&ref[]=$file_id" -H "Content-Type: multipart/form-data")
|
||||||
# >&2 echo "Response: $response"
|
# >&2 echo "Response: $response"
|
||||||
|
|
||||||
is_alive=$(echo $response | jq ".success")
|
is_alive=$(echo $response | jq ".success")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue