ChaitanyaKaranam / servicenow-rest-api

Node.js Wrapper library for ServiceNow REST API.
https://www.npmjs.com/package/servicenow-rest-api
MIT License
18 stars 21 forks source link

Protocol and port to connect with service now instance #10

Closed shagg2010 closed 4 years ago

shagg2010 commented 4 years ago

I see that we cannot specify port and protocol while connecting to service now instance. So what if the service now HTTP server is not running on default ports.

ChaitanyaKaranam commented 4 years ago

@shagg2010 You can add port details along with Instance as shown below.

const ServiceNow=new sn('devserver:5050','_USERID','_PASSWORD').

This package does not support the HTTP protocol. Only HTTPS. I will add support for that.

shagg2010 commented 4 years ago

thanks for the update.