views:

32

answers:

1

Is it possible to use pastebin (may be via their "API" functionality [http://www.pastebin.com/api.php] ) inside bash shell scripts? In detail i mean: how do i send http-post? And how do i get back the url?

Thanks ahead

+1  A: 

I'm not sure but I think this question belongs to superuser. Anyway...

You could use wget to send POST data (via the --post-data or --post-file option). See the man page for more information.

musiKk