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
}
});
Tuesday, June 14, 2011
Firebug Failed to show POST Response
For future reference, showing errors with GET:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment