Checking http status code of crucible and returning -1 for status != 200 or 201

.