Running a node js script and getting an error - This feature is not available on this site
Summary
Running a node js script and getting an error - This feature is not available on this siteContent
I am running a node js script from my desktop, getting the below error.
:\node js>node sample.js
< partial output>
_headers: [Object],
_headerNames: [Object],
agent: [Object],
socketPath: undefined,
method: 'POST',
path: '/network/v1/privategateway/',
parser: null,
res: [Circular] },
ntick: true,
response: [Circular],
originalHost: 'api-z65.compute.us6.oraclecloud.com',
originalHostHeaderName: 'host',
responseContent: [Circular],
_destdata: true,
_ended: true,
_callbackCalled: true },
toJSON: [Function: responseToJSON],
caseless:
{ dict:
{ date: 'Tue, 01 Aug 2017 09:37:14 GMT',
server: 'nginx',
'content-type': 'application/oracle-compute-v3+json',
'content-length': '58',
'content-language': 'en,en-us',