Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/d6y/example-webhook

Example apps that make use of the Taykt.com web hooks API
https://github.com/d6y/example-webhook

Last synced: 3 days ago
JSON representation

Example apps that make use of the Taykt.com web hooks API

Awesome Lists containing this project

README

        

Prerequisites:
- Java 1.6
- Ant
- Maven
- J/GAE (tested against 1.2.6)
- Scala 2.7.x (or possibly later)

To build:

1. Edit build.xml and make sdk.dir point to your J/GAE install; or create
an etc/user.properties file to customize this value (preferred option).
2. Run mvn package
3. Run ant

This will give you a local instance running http://localhost:9000/ which you can test
with: curl http://127.0.0.1:9000/date -X POST -d text=Sydney

To deploy:

$GAE_HOME/bin/appcfg.sh [email protected] update target/example-webhook

To try it:

$ curl http://taykt-demo.appspot.com/date -X POST -d text=Sydney
It's 2009-09-17 06:21 in Eastern Standard Time (New South Wales)

$ curl http://taykt-demo.appspot.com/echo -X POST -d text="Well hello" -d pid="42"
42 sent Well hello