MIDSERVER and REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2020 08:00 AM
Hi Guys,
I wanted to ask if there is a way to use MIDSERVER with Inbound REST API calls. I know that we can use MIDSERVER with outbound REST API calls.
Has there been any new feature or something that can allow us to do that or is it just a dead end like all other posts that I've seen. I saw that there is a way to use URLs with Event Management module in MIDSERVER to point all XML/JSON data and use a script Include.
Just wondering if there has been anything new for Inbound REST API combined with MIDSERVER.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2020 08:20 AM
Hi Aditya,
Mid Server is generally used to send the requests for applications which are installed with in your company network or outside of your company network which will have the firewall protected. Because every company network will have firewall and servicenow cannot reach that network without whitelisted proxy in to their network.
so here midserver is helpful where we can configure our proxy in it and it helps the servicenow to go beyond the firewall network for creating the requests/tickets.
so in your case, for inbound requests doesnot require the mid-server because our system(servicenow) will receive the transaction from other application and servicenow donot have any firewall configured because it is hosted in cloud.
and If you are working on an integration between servicenow to servicenow, In this case Mid-server is not required because servicenow is cloud based and it is not hosted with in your company network.
Hope this is helpful.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2020 04:50 AM
Got it!
Just for knowledge purposes - even if we wanted to utilize MID Server without Event Management module to accept requests from any other application, would that still be possible.
Although after researching for days now - I do think it won't be doable but still want to check if there is any possibility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2021 10:53 AM
Hi,
I'm trying to wrap my head around the concept of the mid server - we have a full on REST API architecture at our bank. For incoming API calls from SN to us, it absolutely makes sense to create one point of entry into the network - but for outgoing API calls from us to SN, it also makes sense to centralize it so that we don't have so many open firewall ports - and so that we don't have to manage certificates and NPAs across all our applications calling SN APIs.
My instinct would be to set up a gateway server that concentrates all incoming and outgoing traffic, basically just forwarding API calls between our applications and SN, and modifying headers on the way to either add our internal credentials or outgoing SN credentials.
In this case, assuming we're able to call APIs directly, I don't really see any added value of the mid server. Is it still technically necessary (assuming all of our interactions are RESTful APIs)?
Thanks,
Derek