ACIL FM
Dark
Refresh
Current DIR:
/usr/share/doc/perl-HTTP-Tiny/eg
/
usr
share
doc
perl-HTTP-Tiny
eg
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
get.pl
395 B
chmod
View
DL
Edit
Rename
Delete
mirror.pl
392 B
chmod
View
DL
Edit
Rename
Delete
post.pl
568 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/share/doc/perl-HTTP-Tiny/eg/post.pl
#!/usr/bin/perl use strict; use warnings; use HTTP::Tiny; use URI::Escape qw/uri_escape_utf8/; my $url = 'http://search.cpan.org/search'; my %form_data = ( query => 'DAGOLDEN', mode => 'author', ); my @params; while( my @pair = each %form_data ) { push @params, join("=", map { uri_escape_utf8($_) } @pair); } my $response = HTTP::Tiny->new->request('POST', $url, { content => join("&", @params), headers => { 'content-type' => 'application/x-www-form-urlencoded' } }); print "$response->{status} $response->{reason}\n"; print $response->{content};
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply