Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QML pass form data to rest api



  • I configured the rest api on a flask that sends data to a mysql database. Data is sent in the FORM-DATA format, I checked it with a postman, everything works fine. Now I want to send FORM DATA from qml. The data which i want to send is:
    double: '41.31'
    double: '69.24'
    string: 'Posting JSON data to Flask'
    datetime: '2020-05-24'
    blob: some_image

    Is there any tutorial from the beginning or example? In the book cadaques, shown with json and it some complicated for me to understand the code. I need only POST method.

    Regards,
    Jasur


Log in to reply