Skip to content

Instantly share code, notes, and snippets.

@BoboTiG
Last active April 30, 2021 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BoboTiG/7b03e5bab128e1860efe154c1ce83682 to your computer and use it in GitHub Desktop.
Save BoboTiG/7b03e5bab128e1860efe154c1ce83682 to your computer and use it in GitHub Desktop.
Medium - The Mystery of the Endless HTTPS Call
docker run ubuntu:latest bash -c "\
apt update \
&& apt install -y curl \
&& curl -k -v --trace-time 'https://<HOST>/nuxeo/api/v1/upload/<BATCH_ID>/0/execute/FileManager.Import' -H 'X-Batch-No-Drop: true' -H 'Content-Type: application/json' -H 'Cookie: X-Authentication-Token=<TOKEN>' --data-raw '{\"context\":{\"currentDocument\":\"/default-domain/UserWorkspaces/<USER>\"}}'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment