Json and Ajax in Kirby3

Should this example still work in kirby 3?
I got this working in kirby 2, but in kirby3 i get 404-error when i try to connect with .json template file? Anybody an idea what could be wrong?


Files were in drafts… that’s why i got a 404-error!