how to make post request in javascript for api call
const data = {
'keyone': 'valueone',
'keytwo': 'valuetwo'
};
$.post(url, data, function(data,status){
console.log(data);
});
Are there any code examples left?
New code examples in category Javascript