[Solved] POST method not working in ios

In iOS9, Apple added new feature called App Transport Security(ATS). ATS enforces best practices during network calls, including the use of HTTPS. Add the following in you info.plist You can add exceptions for specific domains in your Info.plist: <key>NSAppTransportSecurity</key> <dict> <key>NSExceptionDomains</key> <dict> <key>testdomain.com</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSExceptionAllowsInsecureHTTPLoads</key> <true/> <key>NSExceptionRequiresForwardSecrecy</key> <true/> <key>NSExceptionMinimumTLSVersion</key> <string>TLSv1.2</string> <key>NSThirdPartyExceptionAllowsInsecureHTTPLoads</key> <false/> <key>NSThirdPartyExceptionRequiresForwardSecrecy</key> … Read more

[Solved] HTTP POST REQUEST USING PHP [closed]

First, you’re going to want to look into the cURL library for PHP. http://php.net/manual/en/book.curl.php It’s basically a library to help you connect and communicate over various protocols, including HTTP using the POST method. There’s a very simple example on using the library on this page: http://php.net/manual/en/function.curl-init.php Second, you’re going to want to note the difference … Read more