Fixed 400 malformed request error
Merge pull request #2 from crockeo/master

Fixed 400 malformed request error