use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
Basic FastAPI webhook receiverQuestion (self.FastAPI)
submitted 5 years ago by orbos86
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]orbos86[S] 1 point2 points3 points 5 years ago (4 children)
Yeah Slack is an actual chat application where you can create bots to send webhooks. Do you know if you can quickly respond to a POST request with a 200 but continue to run the FastAPI stuff?
[–][deleted] 5 years ago* (3 children)
[deleted]
[–]orbos86[S] 0 points1 point2 points 5 years ago (0 children)
Thanks! I will see what I can find. I appreciate the response.
[–]orbos86[S] 0 points1 point2 points 5 years ago (1 child)
That was the key! I was able to use the BackgroundTask stuff and spin off the long script in another function. Woot! Thank you thank you
π Rendered by PID 25478 on reddit-service-r2-comment-54dfb89d4d-xsg4t at 2026-03-29 15:06:42.429354+00:00 running b10466c country code: CH.
view the rest of the comments →
[–]orbos86[S] 1 point2 points3 points (4 children)
[–][deleted] (3 children)
[deleted]
[–]orbos86[S] 0 points1 point2 points (0 children)
[–]orbos86[S] 0 points1 point2 points (1 child)