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.
-
Notifications
You must be signed in to change notification settings - Fork 0
POST body pattern matching gateway template, made with actix, rustls, and reqwest
License
jpegleg/pregate
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
POST body pattern matching gateway template, made with actix, rustls, and reqwest
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published