Fixed REST client failing on POST and 201 status code.