Skip to content

Latest commit

 

History

History

fastapi-webhooks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

FastAPI Webhook Ingestion Recipe

Complete example demonstrating timing-safe HMAC signature verification for DigiWebscape webhooks using FastAPI.

Usage

  1. Install FastAPI and Uvicorn:

    pip install fastapi uvicorn digiwebscape
  2. Set your environment variable:

    export DIGIWEBSCAPE_WEBHOOK_SECRET="whsec_your_secret_here"
  3. Run the server:

    uvicorn main:app --reload --port 8000