Creating a resource returns HTTP 201.

It might be better to relax the statusCode checks a bit (i.e., consider things to be OK if statusCode is in the 2xx family).