Fix case where non error would be error.

When you create a new event it returns 201, so we need to check for all
2xx cases.
Merge pull request #1 from larzconwell/fix-response-code-checks

Fix case where non error would be error.