[gnome-sehll-extension]
I need read other web pages and parse the obtained JSON files.
The office example is:
$.ajax({
url: 'http://api.xxx/yyyy',
type: 'get',
dataType: 'jsonp',
data: {
q: query,
appid: appid,
salt: salt,
from: from,
to: to,
sign: sign
},
success: function (data) {
console.log(data);
}
});
I have get the result data use POST
manaully.
now how can I use ajax mothed? or use some library to do it? or call curl
command to get the result?