Modify the fetch.js to send json to database.
Merge pull request #152 from promise82114/master

Modify the fetch.js to send json to database.