what is difference between relative path and resource path in REST Integrations? Please provide examples as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2019 09:47 AM
what is difference between relative path and resource path in REST Integrations? Please provide examples as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2019 10:50 AM
Simple example would be as follows,
When you want to generalize a path, say,
https://instance.service-now.com/login.do
Comments: In above path will not take you to any page unlesss you replace instance with actual instance number like devxxxxx
resource path:
https://devxxxxx.service-now.com/login.do
Comments: Above URL when "xxxxx" is replaced with actual instance number will take you to the resource
For detailed technical answers, please refer to docs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2019 07:13 AM
what about the relative path?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2019 03:20 AM
Hi,
Relative Path is a path that is relative to the current page's path location.
eg:
The current page : http://www.site.com/products/sales
and you are referring to another page : http://www.site.com/products/sales/summary.html
then relative path will be - /summary.html
Resource path is the standard / home path to the current page.
In above example "http://www.site.com/products/sales" will be the resource path.
Thanks