Change Java sender test endpoint to use POST