I would like to make a simple HTTP POST using JSON in Java.
Let’s say the URL is www.site.com
and it takes in the value {"name":"myname","age":"20"}
labeled as 'details'
for example.
How would I go about creating the syntax for the POST?
I also can’t seem to find a POST method in the JSON Javadocs.