How to correctly do a POST to HTTPS server and embed the login data correctly. Below code does not return any cookies (in Wininet it does). I wonder how POCO HTTP library ha
You are setting content type like this:
req.setContentType("Content-Type: application/x-www-form-urlencoded\r\n");
which should be:
req.setContentType("application/x-www-form-urlencoded\r\n");