Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery ajax

$.ajax('[URL]', {
  method: 'POST',
  dataType: 'json',
  timeout: 5000
}).then(function (responseJSON) {
  console.log(responseJSON);
}).catch(function(err){
  console.log('Caught an error:' + err.statusText);
});
Source by careerfoundry.com #
 
PREVIOUS NEXT
Tagged: #jquery #ajax
ADD COMMENT
Topic
Name
1+2 =