Now responds with json
Now responds to posts