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/02c9ac5da21761b807c970b3b0855322 to your computer and use it in GitHub Desktop.
Save BoboTiG/02c9ac5da21761b807c970b3b0855322 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 iputils-ping \
&& 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>\"}}' \
& ping -f -i 0.1 <HOST>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment