Switched to json based post.
Added example for JSON based post to README.