currently I am working on an custom skill, which requests the users as long as it successfully extracts an entity value and stores it into a variable.
The skill works, but for a better user experience, I would like to provide an Select element instead of an Input. For this I need to load all current defined ‘entities’ and pass it as option to the Select element.
Unfortunately I am not sure how to get them. Based on the docs, I assume this should work:
this.props.bp.axios.get('/mod/nlu/entities').then(ents => console.log(ents))
But I receive an 404 Error, which is strange to me.
Because the url is valid, at least when I tried it via web-browser. If I request the url by browser, na 401 - Auth error occurs, which is fine to me.