slack-commands

Use FastAPI to parse incoming POST request from Slack

Use FastAPI to parse incoming POST request from Slack Question: I’m building a FastAPI server to receive requests sent by slack slash command. Using the code below, I could see that the following: token=BLAHBLAH&team_id=BLAHBLAH&team_domain=myteam&channel_id=BLAHBLAH&channel_name=testme&user_id=BLAH&user_name=myname&command=%2Fwhatever&text=test&api_app_id=BLAHBLAH&is_enterprise_install=false&response_url=https%3A%2F%2Fhooks.slack.com%2Fcommands%BLAHBLAH&trigger_id=BLAHBLAHBLAH was printed, which is exactly the payload I saw in the official docs. I’m trying to use the payload information to …

Total answers: 1