const axios = require('axios');
axios.post('', {
hostedLocation: 'your_script_location',
integrityHash: 'your_integrity_hash',
canCopy: false,
version: 'your_script_version',
displayName: 'your_script_name'
})
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});