如何从node.js调用PHPWeb服务。提前谢谢。
最佳答案
您可以使用node-httpclient对任何服务器执行get requets,而不一定是php。
var client = new httpcli.httpclient();
var url = "http://domain.com/get/bananas"
client.perform(url, "GET", function(result) {
// Result is the response of the server
}, null);