Have do_request_json test for non-200 response codes and fail