I'm trying to run a HTTP Request in Swift3, to POST 2 parameters to a URL.
Example:
Link:
http://test.tranzporthub.com/street45/customer_login.php
Params:
{
"user_id":"[email protected]",
"password":"123"
}
What is the simplest way to do that?
I don't even want to read the response. I just want to send that to perform changes on my database through a PHP file.