respond to json or html on posts create
Merge pull request #129 from marklc44/master

respond to json or html on posts create