Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for uploading APKs #4

Open
yogeshpaliyal opened this issue Mar 13, 2024 · 0 comments
Open

Add support for uploading APKs #4

yogeshpaliyal opened this issue Mar 13, 2024 · 0 comments

Comments

@yogeshpaliyal
Copy link
Owner

yogeshpaliyal commented Mar 13, 2024

const axios = require('axios');
const headers = {
  Authorization: 'your-authorization-token',
  'Content-Type': 'multipart/form-data'
};
const formData = new FormData(); formData.append('file', yourFileBlob);
axios.post('https://developer-api.indusappstore.com/apis/indus-developerdashboard-service/devtools/apks/upgrade/package-name', formData, { headers })
  .then(response => {
    console.log(response.data);
  })
  .catch(error => {
    console.error(error.response.data);
  });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant