I'm trying to create a flask service in which I want to send the data coming from one request.form to another url in json format, Please can anyone help me to achieve this?
redirect(url_for('any_method'), json = json.dumps(my_form_dict))
When I try to execute the above code I'm getting following error:
TypeError: redirect() got an unexpected keyword argument 'json' The above is the error here.