Calling an external service (Simple HTTP GET) from Service Now Client or Server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2013 08:34 AM
Hello,
I want to write a Client Side Script (onSubmit on the Incident form). After evaluating an incident submit I want to make a HTTP request to an external server, nothing fancy but a simple GET will serve the need.
Now I am uncertain if this is possible to begin with. Does client side scripts provide HTTP functionality or must I call a server side script from the client script and in turn make the HTTP request from the server?
The most straightforward solution for us would be to do it from the client but the only Service Now Related resource I found that seemed relative had it done on the server by using the java/apache http library:
http://servicenowdiary.com/2011/11/custom-http-get-request-to-a-server/
Any input will be appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2013 06:09 AM
Oh,yea if its Cross Domain, I'm afraid Ajax will fail.. Yea, thanks!