I am trying to implement Post/Get communication to an HTTPS server advertising as a WiFi access point. When i attempt to do these posts/gets using a software like postman or curl on my terminal, i have no issue. When I try to do it in swift for my iOS app, we run into server trust issues (corresponds to NSURLErrorDomain -> NSURLErrorServerCertificateUntrusted -> -1202 error code).
I am at a loss for how to get around this in swift. I've tried modifying the info.plist file to accept ```
NSExceptionAllowsInsecureHTTPLoads but this has not resolved the issue. I understand that what i am doing is unsecure -- this is only for internal development tools which is why I accept the risk in security. I also don't have a better option right now so am hoping there are thoughts out there which I can leverage.
Appreciate any and all ideas!