Skip to content

josephcultimate/webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webhook-api


Subscriptions

Post JSON data: https://webhook-api.com/api/subscription

  • app: the name of the application subscribing
  • eventtype: namespace.nameofevent
    • namespace.* - for all events in namespace
    • * - for all events
  • url: url to post data to
{
"app":"hrtech",
"eventtype":"spark.answer",
"url": "https:hrtech.ultilabs.xyz"
}

Event Publishing

Post JSON data: https://webhook-api.com/api/event

  • type: event name - namespace.nameofevent
  • payload: string of data. Could be json object unstructured
{
"type":"spark.answer",
"payload":"{id: 'some uuid', quiz: 'My Quiz', question: 2, answer: 3}"
}

About

web api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages