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

    Origin: file:// on Post request

    Help
    3
    4
    301
    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.
    • S
      syshex last edited by

      Hello everyone.

      I’m having this problem, which I’m sure should be easy to solve, but I can’t seam to find a way to fix it.

      When I’m performing a POST request on my android device I’ getting 403 from all my servers. I noticed by snooping the request that I’m sending the Origin as file://. I’m pretty sure this is the problem.

      I’m getting the 403 from nginx server and from a Play Platform. It is not really an option to change those.

      Any help you can provide?
      Thanks

      1 Reply Last reply Reply Quote 0
      • S
        syshex last edited by

        In fact, I’m not really sure that that is the problem.

        I also noticed that the compile version of the quasar app is not sending the OPTIONS request before the post.

        In the dev version, that I run in the browser, that is sending the OPTIONS request.

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

          I assume you are on production, if you do, you’ll need to sign your apk to make it work follow this https://quasar-framework.org/guide/cordova-publishing-to-store.html.

          1 Reply Last reply Reply Quote 0
          • H
            himanshum last edited by

            Hi,
            I am develoibg an Electron Desktop app and I have used electron package and facing the same issue, i am not sure what is causing this,
            @metalsadman i have read that code signing is not needed or is not necessary to just build and test,
            @syshex how did you solve this issue?
            Can anyone please tell me whats wrong?

            Thanks

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