How to use a postman tool in java