Set Headers CORS

Hi, I experienced a problem when retrieving data using the GET method, is there a solution to this problem? Many forums suggest setting a header, but I haven’t found a way at all. Thank you.Capture

You need to whitelist your domain from which you are testing app localhost on server. Don’t know which server are you using but for django there are some nice packages out there. Also, you will not have this error on real device

On iOS it will be also error, so correct CORS headers should be set on SERVER (not in app)

Can you illustrate Please with code because, I have tried to edit the server port on package.json it doest work

You need to edit config on server not on framework7 . We need to know which server are you using?

https://enable-cors.org/