Android - Send an HTTP(S) POST request February 17, 2016 Oliv' As a part of my ioPush Android application, I needed to send a POST request to a secure server. I found some examples over the Internet but nothing parametric. Here is my code, with optional basic HTTP authentication and headers.