Post request = prepareAddRoute(categoryUrl, description, fileUrl);
String result = request.executeAsString();
if (request.isUnAuthorized())
throw new UnAuthorizedException("Cannot add route " + description, getRoutesUrl());
if (request.isForbidden())
throw new NotOwnerException("Cannot add route " + description, getRoutesUrl());
if (!request.isSuccessful())
throw new IOException("POST on " + getRoutesUrl() + " with route " + description + "," + categoryUrl + "," + fileUrl + " not successful: " + result);
return request.getLocation();
}