次のコードを使用して、 node.js経由でhttp GETリクエストを作成しました
http.get({host:'google.com'},
function(res){});
しかし、クエリ文字列を含む GET リクエストを作成する方法は次のとおりです: http://myhost/path?query1= "val1"&query2="val2" ???
次のコードを使用して、 node.js経由でhttp GETリクエストを作成しました
http.get({host:'google.com'},
function(res){});
しかし、クエリ文字列を含む GET リクエストを作成する方法は次のとおりです: http://myhost/path?query1= "val1"&query2="val2" ???