Browse files

Update usage instructions

  • Loading branch information...
1 parent 9c27526 commit 95ece87c0bf8c6ba20c74a2103616ebdd4e34b37 @zachwill committed Mar 12, 2012
Showing with 11 additions and 1 deletion.
  1. +11 −1 README.md
View
12 README.md
@@ -5,10 +5,20 @@ A [`gut`
implementation](http://maxogden.com/#blog/gut-hosted-open-data-filets)
of the [`relaxml` Python library](https://github.com/zachwill/relaxml).
+
+Usage
+-----
+
+ curl -X POST http://relaxml.herokuapp.com -H "X-callback: http://my.site.com" --data-binary @file.xml
+
+
+Locally
+-------
+
You can start up the server from the command line:
python app.py
And to test it out:
- curl -X POST http://relaxml.herokuapp.com -H "X-callback: http://www.postbin.org/yc0zqh" --data-binary @note.xml
+ curl -X POST http://localhost:5000 -H "X-callback: http://www.postbin.org/yc0zqh" --data-binary @note.xml

0 comments on commit 95ece87

Please sign in to comment.