Call to camunda rest api from angular http client

Whenever I attempt to call the camunda api from angular, I get:

“Http failure response for http://localhost:5050/engine-rest/{omitted process id number}/xml: 0 Unknown Error”

The call works from postman to return the xml data, and also from chrome.

this.http.get(diagramUrl, { responseType: ‘text’ }).subscribe(res => {


}, err => {



@drobqlarant what’s the camunda rest endpoint you’re trying to invoke?

Can you provide complete error message? what is the HttpStatusCode returned from camunda server? Rest api dependencies added to camunda server?

Are you able to get results for api : http://localhost:5050/engine-rest/engine ?