Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Java library for Standard Webhooks

Example

Verifying a webhook payload:

import com.standardwebhooks.Webhook;

Webhook webhook = new Webhook(base64Secret);
webhook.verify(webhookPayload, webhookHeaders);

Development

Requirements

  • Java 1.8+
  • Gradle

Building the library

./gradlew build

Running Tests

Simply run:

./gradlew test

Publishing to Maven

./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository