http://qs1969.pair.com?node_id=1172393


in reply to jQuery issue with Dancer2

So what is the issue/problem?

You need to summarize the question, like why is state empty  $.get(host +'/get_aux/' + aux, function(state){

I suggest you study Mojolicious::Lite +and jQuery +AJAX + Mojo::Template both the perl and the javascript (and references), as headers (like content type) matter, and so does handling failure