code: protected String callBridge(RestHttpHelper restHelper,
                                  String snapshotURL,
                                  String snapshotBody) {
          log.info("Making RESTORE call to URL {} with body {}",
                   snapshotURL, snapshotBody);
  
          try {
              Map<String, String> headers = new HashMap<>();
              headers.put(HttpHeaders.CONTENT_TYPE, "application/json");
              RestHttpHelper.HttpResponse response =
                  restHelper.put(snapshotURL, snapshotBody, headers);
              int statusCode = response.getStatusCode();
              if (statusCode != 201) {
                  throw new RuntimeException("Unexpected response code: " +
                                             statusCode);
              }
              return response.getResponseBody();
          } catch (Exception e) {
              throw new TaskException("Exception encountered attempting to " +
                                      "initiate snapshot request. " +
                                      "Error reported: " + e.getMessage(), e);
          }
      }
docs: /*
  Calls the bridge application to create a snapshot