1
我試圖在http.get中傳遞查詢。 這工作:我可以在node.js中使用https.get傳遞查詢嗎?
https = require("https");
https.get('https://graph.facebook.com/v2.6/1109550759112324/accounts/test-users?access_token=token',
這導致404:
https = require("https");
https.get({
host: 'graph.facebook.com',
path: '/v2.6/1109550759112324/accounts/test-users',
query: {
access_token: 'token'
},