Permalink
Browse files

+ bnw.im: post

  • Loading branch information...
l29ah committed May 10, 2015
1 parent f0842d7 commit c94ed7434ea0dd56dbf5b176cf8bcafec76fdaa0
Showing with 6 additions and 0 deletions.
  1. +6 −0 bnw.im/bnwpost
View
@@ -0,0 +1,6 @@
#!/bin/sh
tags="`printf %s $1 | urlencode`"
clubs="`printf %s $2 | urlencode`"
text="`urlencode`"
login="`cat ~/.config/bnwbash`"
curl -s "https://bnw.im/api/post" -d "tags=$tags&clubs=$clubs&text=$text&login=$login" | sed -e 's#.* \(http[^"]*\).*#\1#'

0 comments on commit c94ed74

Please sign in to comment.