Sign in to Community
Sign in to view all badges
We (me and my team mates) need to perform an API REST call from a Web App hosted on Adobe Campaign platform.
This call is directed to an external system.
We made a test using the following test url: https://jsonplaceholder.typicode.com/posts/1.
(Note that this one is just a test, not the one we are going to use for real)
Every time we perform this api call we gain the following error :
JST-310026 The URL 'https://jsonplaceholder.typicode.com/posts/1' to which the script is trying to acces is not part of the authorized addresses in urlPermission (serverconf.xml)
var http = new HttpClientRequest("https://jsonplaceholder.typicode.com/posts/1");
http.method = "GET";
var resp = http.response;
May anyone tell us how it is possible to solve this issue?Thanks for help as usual,
Please add your destination URL as is:
<url dnsSuffix="jsonplaceholder.tipicode.com" urlRegEx="https://.*"/>
or more complex regex if only some pages must be accessible.