Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stefanozanella/a218a5b6effcd1af9ea58e707fad8406 to your computer and use it in GitHub Desktop.
Save stefanozanella/a218a5b6effcd1af9ea58e707fad8406 to your computer and use it in GitHub Desktop.
@RestController
class WebhooksController {
@PostMapping("/webhooks/hubspot")
fun hubspot(@RequestBody events: String) {
println(events)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment