var fields = { 'client': client, 'apikey': apikey, 'appver': appver, 'pver': pver, 'url': 'http://www.phishing.com/' }; $.ajax({ url: 'https://sb-ssl.google.com/safebrowsing/api/lookup', type: 'GET', data: fields, dataType: "text", success: function(rdata) { $('#gdb').html(rdata); }, error: function() { // Handle errors } });
No comments:
Post a Comment