Loading scripts gives a unauthorized message.
ojkaas last edited by
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?
@ojkaas can you check
mycontroller/log/mycontroller.logfile. You can see actual error there. Or in the browser for this query response.
If you want to try url outside to access any resource on MyController, you should pass basic auth along with it.