Skip to content

Convert synchronous API calls into lightning fast async ones if the response is irrelevant

License

Notifications You must be signed in to change notification settings

Xiaopan-AI/async-api-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Async API Relay

Why build this

We have a Zapier zap that calls a webhook but it times out after 1 second (free account limitation, I know...) so the zap doesn't run properly.

I needed a way for the call to return immediately to Zapier, and process the request asynchronously in the background, because I don't really need the return value.

This universal API relay will work with any http POST request.

Setup

pip install -r requirements.txt

Usage

bash run.sh

Or you can build a Docker image and run it on some server

bash build_docker.sh [image-name]

About

Convert synchronous API calls into lightning fast async ones if the response is irrelevant

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published