You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Running a node js script and getting an error - This feature is not available on this site

Received Response
5
Views
2
Comments
edited Aug 3, 2017 7:00AM in Java 2 comments

Summary

Running a node js script and getting an error - This feature is not available on this site

Content

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',

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!