Morning everybody.
I’m running camunda inside a docker. I want to use in eventlistner javascript code to make a Get HTTPS request (with fecth or XMLhttprequest).
This is the request I want to make:
fetch('https://jsonplaceholder.typicode.com/todos/1')
.then(response => response.json())
.then(json => console.log(json))
But, I’m having an error: ReferenceError: fetch is not defined
and ReferenceError: XMLhttprequest is not defined
This is how I did it
Is there any way to do it ? Thanks