POST data directly into an Etherpad pad via HTTP.
pnpm run plugins i ep_post_data
POST to /post to create or update a pad. Set the X-PAD-ID header to choose the pad name, otherwise a random ID is generated.
# Create a pad with a random ID
curl -X POST -d @datafile.txt http://localhost:9001/post
# Create or update a specific pad
curl -X POST -d @datafile.txt -H 'X-PAD-ID: mypad' http://localhost:9001/postRequest body is capped at 1 MB.
Apache-2.0