here its also possible to be simplified: you can change the js to request /landing instead of posts - then you wont need to specify this route.