Skip to content

ByeBot-Integrations/ExpressJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Byebot - Express.js Demo

Express.js example application demonstrating Byebot integration.

Setup

npm install
npm start

Server runs at http://localhost:4242

Configuration

Edit values in app.js:

const BYEBOT_API_KEY = "your-api-key";
const BYEBOT_SITE_KEY = "your-site-key";

How It Works

  1. The form loads the captcha widget via <script src="https://challenge.byebot.de/ray/widget.js">
  2. Widget renders in <div class="captcha-widget" data-sitekey="...">
  3. On verification, widget adds hidden byebot-token field to form
  4. Server validates token by POSTing to https://challenge.byebot.de/validate_token

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors