增加两个api方便跨域访问, http的post 和get的方法都支持:
1.LomoX.net.httpRequest
eg:
LomoX.net.httpRequest('get', 'http://www.lomox.hk/LomoXAPI/LomoX-doc.html', '');
LomoX.net.httpRequest('post', 'http://www.google.com/reader/api/0/subscription/edit?client=contact:myname-at-gmail','s=http://xkcd.com/rss.xml&ac=edit&a=user/-/label/comics&token=here-put-a-valid-token');
2LomoX.net.httpRequestWithEncode
LomoX.net.httpRequestWithEncode('get', 'http://www.lomox.hk/LomoXAPI/LomoX-doc.html','','utf-8');
下载地址: