Every line of 'axiosresponse' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
24 function _axiosPost() { 25 var args = []; 26 for (var _i = 0; _i < arguments.length; _i++) { 27 args[_i] = arguments[_i]; 28 } 29 return new Promise(function (resolve, reject) { 30 jsHelper.apply(exports.axios.post, exports.axios, args) 31 .then(function (response) { 32 resolve(response); 33 }) 34 .catch(function (err) { 35 reject(err); 36 }); 37 }); 38 }
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code