Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Flask Example

This example demonstrates how to use the Forminit SDK with Flask.

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Set environment variables:
export FORMINIT_API_KEY="your-api-key"
export FORMINIT_FORM_ID="your-form-id"
  1. Run the application:
python app.py
  1. Open http://localhost:5000 in your browser

Features

  • Form submission with FormData
  • Direct JSON submission with structured blocks
  • User info tracking (IP, User-Agent, Referer)