The Camunda REST APIs are not working from angular. However, when I deploy a controller to the same springboot JVM that camunda engine is running in, it gets called from angular. What setting am I missing ?
Here is the angular code
private engineRestUrl = ‘http://localhost:8080/rest/’
getTasks(): Observable<Task[]> {
const endpoint = ${this.engineRestUrl}task
;
return this.http.get(endpoint).pipe(
tap(form => this.log(fetched tasks
)),
catchError(this.handleError(‘getTasks’, []))
);
}