Skip to content

POST body pattern matching gateway template, made with actix, rustls, and reqwest

License

Notifications You must be signed in to change notification settings

jpegleg/pregate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pregate

This service is designed to receive (language) API requests (or any HTTP POST requests) via /api/v1 and check the patterns in the pregate-rules.toml for keywords to trigger a fixed response instead of a (generative) response. Set the pregate-rules.toml, see the pregate-rules.toml_EXAMPLE, populating it with the URL, auth information (API token), as well as the rules and hard-coded response.

About

POST body pattern matching gateway template, made with actix, rustls, and reqwest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages