- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2017 05:13 PM
Hi ServiceNow Community Developers,
I am currently integrating our ServiceNow platform with another application called Quickbase. The problem I am running into is that the endpoint in the Http method is limited to only 200 characters however the url that I need to specify on the endpoint has way more than that and as a result I am unable to define the endpoint properly.
Here is the string that I would like to specify in my endpoint to integrate the two applications: https://emcpocengineering.quickbase.com/db/target_dbid?a=API_DoQuery& &ticket=8_bmx6k24mg_b3kjek_e4bk_a_dh6fqyvwzdbeidzjvjwfcnfty5jdbzxwbkcb883z6bk3s77976677cckw2s2&apptoken=bw22qz7tfab72b89393934g3nd2dvyx5u5 &query={'161'.EX.'FY18-Q3-594944'}&clist= 19,82,18,27&fmt=structured
Would you please advise if there is away to overcome / avoid this issue or if there is another way to set up the end point so that I don't run into this platform limitation issue.
Thanks,
Johannes
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2017 06:50 PM
Hi Johannes,
You may try to set the URL dynamically in the Script.
var sm = new sn_ws.RESTMessageV2();
sm.setEndpoint("your-url");
var response = sm.execute();
Hope this helps. Mark the answer as correct/helpful based on impact.
Thanks
Antin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2017 06:50 PM
Hi Johannes,
You may try to set the URL dynamically in the Script.
var sm = new sn_ws.RESTMessageV2();
sm.setEndpoint("your-url");
var response = sm.execute();
Hope this helps. Mark the answer as correct/helpful based on impact.
Thanks
Antin