Hello, I'm having some trouble getting an ajax request to work using json in the Python Bottle framework.
I'm getting an http 500 error. I believe it might have something to do with the request class on the serverside code, but I've never used ajax with json before, so it's more likely something simple that I missed. Here are the gists:

https://gist.github.com/cameronc56/e0d23b9a09936de917f0 Serverside
https://gist.github.com/cameronc56/a34688c77be28522940f Javascript Side

Any help is appreciated!