# Json and Ajax in Kirby3

**URL:** <https://forum.getkirby.com/t/json-and-ajax-in-kirby3/13048>\
**Category:** Questions\
**Tags:** v3\
**Created:** [February 25, 2019, 12:47pm UTC](https://forum.getkirby.com/t/json-and-ajax-in-kirby3/13048 "2019-02-25T12:47:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmajort](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/kmajort/32/11181_2.png) [@kmajort](https://forum.getkirby.com/u/kmajort)\
**Post date:** [February 25, 2019, 12:47pm UTC](https://forum.getkirby.com/t/json-and-ajax-in-kirby3/13048/1 "2019-02-25T12:47:05Z")

</div>

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?

> **[Kirby 2 Docs](https://v25.getkirby.com/)**
>
> Kirby is a file-based content management system – easy to setup, easy to use, flexible as hell.

---

<div class="post-metadata">

**Author:** ![kmajort](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/kmajort/32/11181_2.png) [@kmajort](https://forum.getkirby.com/u/kmajort)\
**Post date:** [February 25, 2019, 1:23pm UTC](https://forum.getkirby.com/t/json-and-ajax-in-kirby3/13048/2 "2019-02-25T13:23:09Z")

</div>

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