I am starting to play around with adding custom scripts to my dashboard, i took the weather example in the demo and added it to my environment, but i am getting the following problem while loading the scripts:
- i tries to load http://mydomain:myport/mc/rest/templates/getHtml?script=operations%5Cutrecht-weather-config.js&scriptBindings=%7B%7D&template=weather-template.html
Failed to load resource: the server responded with a status of 400 (Bad request)
If i try to go to the url myself i get the following:
{
"errorMessage" : "HTTP 401 Unauthorized"
}
Does anybody have an idea how to solve this?