Add an example of POST request for java