mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralfms.git
synced 2025-10-30 02:12:22 +00:00
Fixing API calls
This commit is contained in:
@@ -127,7 +127,7 @@ latestfirmware() {
|
|||||||
curl ${FLAGS} -X GET -H "Content-Type: application/json" \
|
curl ${FLAGS} -X GET -H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
"https://${UCENTRALFMS}/api/v1/firmwares?latestOnly=true&deviceType=$1" > ${result_file}
|
"https://${UCENTRALFMS}/api/v1/firmwares?latestOnly=true&deviceType=$1" > ${result_file}
|
||||||
jq < ${result_file}
|
jq < ${result_file}cd ../
|
||||||
}
|
}
|
||||||
|
|
||||||
help() {
|
help() {
|
||||||
|
|||||||
Reference in New Issue
Block a user