Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 18 lines (13 sloc) 0.477 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh

if [ -r "`dirname "$0"`"/tve-setup.sh ]; then
. "`dirname "$0"`"/tve-setup.sh
else
. "$TVEROOT"/usr/lib/tve-setup.sh
fi

BASEURL="http://pkgs.theveeb.com/" # XXX: Should this be an argument?

# Expects app-name -d 'k=v' -d 'k2-v2' NO URL ENCODING

TOKENS="`getTVETokens "$BASEURL"`"
APP="$1"
shift
REQ="`getTVEAuthRequest "$TOKENS" "https://theveeb.com/apps/$APP" "POST" -d 'item=feedback' "$@" | cut -d'?' -f2`"
post2stdout "https://theveeb.com/apps/$APP" "$REQ"
Something went wrong with that request. Please try again.