Skip to content

Instantly share code, notes, and snippets.

@coleslaw
Created March 22, 2017 11:09
Show Gist options
  • Save coleslaw/2e88b6509dc32b22ad5fc04a3afb69d1 to your computer and use it in GitHub Desktop.
Save coleslaw/2e88b6509dc32b22ad5fc04a3afb69d1 to your computer and use it in GitHub Desktop.
curl -X POST -H "Content-Type: application/json" -d '{"object":"page",
"entry":[
{"id":"340793616267528","time":1488831343326,
"messaging":[
{"sender":{
"id":"1310147369064592"
},
"recipient":{
"id":"1372583949436791"
},
"timestamp":1488928414105,
"message":{
"mid":"mid.1488831343228:026f6fd986",
"seq":188160,
"text":"Tokyo"}}]}]}' "https://localhost:5000/webhook"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment