Created
February 28, 2012 13:10
-
-
Save mschmitt/1932491 to your computer and use it in GitHub Desktop.
Delete a pad from the default group in etherpad lite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use strict; | |
use diagnostics; | |
use LWP::Simple; | |
my $baseurl = 'http://127.0.0.1:9001/api/1/'; | |
my $apikey = '***'; | |
my $request_url = $baseurl.'deletePad?apikey='.$apikey.'&padID='.$ARGV[0]; | |
print "$request_url\n"; | |
print get($request_url)."\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment