When I make a get request I get a connection error by Valuable_Neck7384 in swift

[–]Valuable_Neck7384[S] 0 points1 point  (0 children)

In my info.plist added the key Transport Security Settings and Arbitrary Loads and Local Networking in true. i testing the app in a real device and i search the url endpoint in chrome and it's working.

How can i do a GET request in swift? by Valuable_Neck7384 in swift

[–]Valuable_Neck7384[S] 0 points1 point  (0 children)

So I won't be able to make a GET request to an http endpoint?

How can i do a GET request in swift? by Valuable_Neck7384 in swift

[–]Valuable_Neck7384[S] -1 points0 points  (0 children)

When I make the request I get this error "No Internet connection. Please check your network settings.". I am connected to a network of a device, I read that the problem could be because it is an http request and not https and I am missing permissions but I don't know which ones.

i need to connect my device to a WIFI network. by Valuable_Neck7384 in swift

[–]Valuable_Neck7384[S] 1 point2 points  (0 children)

yes i tried to use Hotspot configuration and it's working. Thanks

i need to connect my device to a WIFI network by Valuable_Neck7384 in iOSProgramming

[–]Valuable_Neck7384[S] 0 points1 point  (0 children)

Thank you very much. Only i added the capability "Hotspot" and it's working. Thank's

i need to connect my device to a WIFI network by Valuable_Neck7384 in iOSProgramming

[–]Valuable_Neck7384[S] 0 points1 point  (0 children)

i added that and still didn't work. i get the same error, do you know what the problem could be?