0

CORS error while get

hi everyone,

i'm making a smartphone application for control a BSP.

i've already written custom routes and functions
i created a Node.js Server for addictional routes, but i need to upload file

when i try to use the /UploadFile request (that calls FIlePosted method) i have CORS error from my device

This happens ONLY from smartphone

if I call this from browser it works.. why!?

 

how can i solve it?
where i can put Access-Control-Allow-Origin; * header??

thanks for helping me,Luca

2 comments

  • 0
    Avatar
    Lyndon

    Luca, did you find a solution for this or is this still an open issue?

  • 0
    Avatar
    Luca Ceccato

    is still an open issue.
    fortunately i avoided this feature, for now
    but i need it in future

    a solution can always help me, my project, my costumers and other people here

Please sign in to leave a comment.