No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Quasar upload - Get post response

    Help
    4
    5
    1362
    Loading More Posts
    • 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.
    • E
      edudesouza last edited by

      Is it possible to get the post response after an upload?

      1 Reply Last reply Reply Quote 0
      • a47ae
        a47ae last edited by

        You should be able to use the @uploaded(file, xhr) event. The second param is the response from the server.

        1 Reply Last reply Reply Quote 0
        • P
          priya last edited by

          Has anyone got this working? I am not able to find the response in xhr

          1 Reply Last reply Reply Quote 0
          • S
            Sujan Dev last edited by

            uploaded: function(file,xhr){
            let response = JSON.parse(xhr.response)
            }
            this one worked for me.

            1 Reply Last reply Reply Quote 1
            • P
              priya last edited by

              Thanks 🙂 it is working

              1 Reply Last reply Reply Quote 0
              • First post
                Last post