e.g. for dev'ing in eclipse:
GET:
http://localhost:8000/buyme/
http://localhost:8000/buyme/hook/0000000139798743472/
http://localhost:8000/admin
POST:
curl -X POST -d "name=Andreas%20Krueger&project=buyme" http://localhost:8000/buyme/hook/0000000139798743472/
curl -X POST -d "name=Andreas%20Krueger&project=buyme" http://localhost:8000/buyme/hook/5555555555555555555/
BTW: On windows, I got curl
via chocolatey:
choco install curl
After payment pages:
/buyme/thankyou/
/buyme/cancel/
http://208.68.38.174:8000/buyme
http://208.68.38.174:8000/admin
http://208.68.38.174:8000/buyme/hook/0000000139798743472/
curl -X POST -d "name=Andreas%20Krueger&project=buyme" http://208.68.38.174:8000/buyme/hook/0000000139798743472/
curl -X POST -d "name=Andreas%20Krueger&project=buyme" http://208.68.38.174:8000/buyme/hook/5555555555555555555/
curl -X POST -d '{"reason":"testing"}' -H "Content-Type: application/json" http://208.68.38.174:8000/buyme/hook/9999999876543765456/
After payment pages:
/buyme/thankyou/
/buyme/cancel/
Of course - replace the 208.68.38.174 with your IP address.
The last step (see flowchart ... reactions.py) will only be executed if the webhook receives data from the correct (coinbase) IP range. For debugging that, just press the "Start a new payment" below the "View your receipt. Return to ..." button. Each payment causes coinbase to send a new notification to the webhook.