You can quite easily find out how to do this by making a few Internet searches. E.g.,
Search term: java http client json
Example result:
Simple REST client in java | harryjoy
Making HTTP...
Type: Posts; User: jashburn
You can quite easily find out how to do this by making a few Internet searches. E.g.,
Search term: java http client json
Example result:
Simple REST client in java | harryjoy
Making HTTP...