See http://argv0.net/static/mochitut/1/ for a tutorial on doing json-based remote calls. If you need to use the 'post' method, there are some tips on this mailing list discussion: http://www.mail-archive.com/[email protected]/msg00277.html
ciao, ivan
