A tool for testing your Dropbox webhook endpoints.
Python
Latest commit 1df36e0 Dec 22, 2014 @smarx smarx Merge pull request #2 from amn41/content-header
added content-type header for apps which need it to parse POST body as json
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.txt initial commit May 14, 2014
README.md clarifying that the tool sends fake requests May 14, 2014
dropbox_hook.py added content-type header for apps which need it to parse POST body a… Dec 22, 2014
requirements.txt

README.md

dropbox_hook.py

Setup

This tool requires the requests and click libraries. You can install both via pip:

pip install -r requirements.txt

Usage

Usage: dropbox_hook.py [OPTIONS] COMMAND [ARGS]...

  This tool makes it easier to test Dropbox webhooks, particularly on
  localhost. It generates fake requests, mimicking what Dropbox itself
  sends. Usage:

      dropbox_hook.py verify URL
      dropbox_hook.py notify URL -s APP_SECRET -u USER_ID

  For detailed help, try this:

      dropbox_hook.py COMMAND --help

Options:
  --help  Show this message and exit.

Commands:
  notify  Send a notification request.
  verify  Send a verification request.