Level 16
I was able to figure it out:
var self = this;
Nova.request()
.put("/my/nova/route/" + this.parameter, data)
.then(function (response) {
self.$toasted.show("Yay, it worked!", {type: "success"});
})
.catch(function (error) {
self.$toasted.show(error.response, {type: "error"});
});
3 likes