AnsweredAssumed Answered

How to Call Remote API from ADF 

Question asked by vidhipanchal on Dec 21, 2018
Latest reply on Dec 28, 2018 by eugenio_romano



I have configure my adf with alfresco by giving Ip address like and i am also able to login.

Now I am trying to call custom webscript from adf using below api

import * as AlfrescoApi from 'alfresco-js-api';
alfrescoJsApi: any;
constructor(private apiService: AlfrescoApiService) {
   this.alfrescoJsApi = new AlfrescoApi({ provider: 'ALL' });
   this.alfrescoJsApi.core.webscriptApi.executeWebScript('GET', 'api/task-instances?authority=' +    this.authService.getEcmUsername())


but api is call localhost url like this

insted of my configured ip.


How can i solve this?