Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML pass form data to rest api
Qt 6.11 is out! See what's new in the release blog

QML pass form data to rest api

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 571 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jasur
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved