JSONP Public API with jQuery getJSON (callback) (MySql)


/ Published in: PHP
Save to your folder(s)

This is a public jsonp api. I use it with jQuery Like This:
$.getJSON("http://yourdomain/yourpath/jsonp_api.php?method=getSchema&params=your_db_name&jsoncallback=?",
function(data){
//DO SOMETHING WITH THE DATA HERE
}
);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.