title: how to call RESTful web service in phonegap application?
body: <p>I am writing a program to call some RESTful web services using jquery $ajax() function. the problem is that i am getting 'Access-Control-Allow-Origin' error. Should I add <code>Access-Control-Allow-Origin: *</code> header to all responses? and is it the best way to call RESTful web services in PhoneGap applications?</p>