How to pass parameters from flask file to rasa action .py

Hi , i am doing an request tracker chat bot using rasa. chat bot is collecting the users details like rt user name and password. I am using an html login page to collect the username and password in a secure way. Username and password given by the user in the login page will be collect in a flask file using (username = request.form.get(‘username’),password = request.form.get(‘password’)) these commands. Now i want to pass these parameters to my rasa server using url so that i can access these values from my action.py file. i tried with “redirect(url_for(‘http://127.0.0.1:5070’, key=username, secret=password))” with this command and tried to acess the values from the action file. but it not working. Can someone please help me to do this?

I’ve checked with my colleague @erohmensing and we think that maybe you could use the API to set slots from the flask code. There’s some docs on this here. In any case it would be good to secure the Rasa server docs here considering that you’re dealing with credentials here.