Is it possible to do a HTTP post from a Processing program?

For POST specifically note that for Processing 4 / Java11+, posting can be done through java.net.http.HttpClient.

An example (in Java):

…and the library documentation:

https://openjdk.java.net/groups/net/httpclient/intro.html

However, isn’t available in Java 7-8 / Processing 3.x. For that, you can use the HTTP Requests For Processing by Madson and Shiffman – the library is installed through Contributions Manager. Here are related discussions:

3 Likes