how to connect to external server

hghg
Kilo Contributor

Hi,

Does anyone know if there is any ServiceNow API that allows an application to send messages to external server such as through https?

Thanks.

1 ACCEPTED SOLUTION

While I don't see any documentation on it, there is an API class called GlideHttpRequest(). You can find examples of it under System Defintion> Scripts Includes, in the RESTMessage and WbemHttpClient records.



Take a look and see if that helps.



I understand the GlideHttpRequest API is being expanded upon in future releases.


View solution in original post

5 REPLIES 5

Chuck Tomasi
Tera Patron

Can you provide some additional details on what you are trying to accomplish? Details (table names, catalog items, etc) are encouraged. Screen shots are always appreciated.


Thanks for the reply and help, Chunk.



In order to deliver information from I want my application on ServiceNow to connect to an external server (e.g., an corporate sever with public IP) through HTTPS or SSL socket.   I saw ServiceNow outbound REST/SOAP web service, but it requires an external REST/SOAP web service on my corporate server in my case, correct? It will be nice if ServiceNow support generic outbound HTTP/HTTPS APIs while SSL socket seems a little bit too far.


While I don't see any documentation on it, there is an API class called GlideHttpRequest(). You can find examples of it under System Defintion> Scripts Includes, in the RESTMessage and WbemHttpClient records.



Take a look and see if that helps.



I understand the GlideHttpRequest API is being expanded upon in future releases.


Thanks, Chunk. This is very helpful.