Successfully posted data to JAVA