BlocNotes

Notepad of a tinker, maker, hacker or whatever you call it :)

1 post under
ioPush

Android - Send a HTTP(S) POST request

As a part of my ioPush Android application, I needed to send a POST request to a secure server. I found some example over the internet but nothing parametric. Here is my code, with optional basic HTTP authentication and headers: Packages importation // Required for httpPost() method import java.io.InputStream; import java.net.URL;...

Read More