Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Not able to able to call Web API's in local network from companion app.

I am trying to send some data from companion app to my server and for that i am using the fetch api to send the data. Before hosting the server i need to check that the api calls  are working fine for that i have set up a local server in the local network. But when i tried to call this from the companion app it is getting failed and i could see this message stating that we should use 'https' instead of 'http'. But it was working fine with http some times back. I am not sure that what happened ...!!!

Can anyone help to solve this issue, Please..

Best Answer
0 Votes
5 REPLIES 5

I haven't tried it for a while, but if you're using a local IP address you might be able to use http://.

Best Answer
0 Votes

Yes, i was able to use it till some days back but now it is showing an error that this should be https !!!

I am confused that why this is sowing like this..

 

Best Answer
0 Votes

If you're using Android, I beleive it was changed a while back to match the iOS restrictions.

Best Answer
0 Votes

Yes i am using an Android device. So it means that i wont be able to use the http further?

 

Best Answer
0 Votes

Will the app accept a self-signed certificate for HTTPS or does it have to be traceable back to a root cert installed on the device?

Best Answer
0 Votes