Created
March 18, 2024 10:07
-
-
Save karx/77f3833947d415508f4272bf3fd71587 to your computer and use it in GitHub Desktop.
Indus Appstore Developer Platform API - APK upload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require('axios'); | |
// Dev Tools Secret from Developer Dashboard portal | |
let authToken = "<-Dev tools secret->"; | |
// POST call to upgrade new APK | |
axios.post({ | |
url: "https://developer-api.indusappstore.com/apis/indus-developerdashboard-service/devtools/apk/upgrade/?package=com.mypackage.apps", | |
headers: { | |
Authorization: `O-Bearer ${response.accessToken}` | |
}, | |
body: { | |
file: ATTACH_APK_HERE | |
} | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment