In the create functions:
  - Unmarshal the response and look for an error from the Chef server
  - Check for non-201 responses from the server and return an error when this happens

In the Post function:
  - Add the application/json content type header which the Erlang chef server requires, goiardi doesn't care.