jQuery - Submit a get request to API

0 votes
174 views
added Jun 14, 2018 in API by LC Marshal Captain (25,790 points)
edited Jul 13, 2018 by LC Marshal
$.get('http://your-site.com/api/endpoint', function(data){
    console.log(data);
});
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...