code: public void put(byte[] data) throws APIException {
          HttpResponse response = client.put(getUrl(), new ByteArrayEntity(data, ContentType.APPLICATION_OCTET_STREAM));
          HttpClientHelpers.throwIfNotOk(response);
      }
docs: Upload raw data to this file as binary
  @param data the data to upload
  @throws APIException if there were any problems communicating with the Algorithmia API