added content-type header to fix invalid json error
Merge pull request #8 from pcunnane/master

added content-type header to fix invalid json error