HTTP Client is a client side HTTP
transport library. By using this library, you can send and receive HTTP
messages. In this tutorial series, you are going to learn how to send GET, POST
requests, and receive http responses.
I am going to use following is the maven
dependency
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.1</version>
</dependency>
</dependency>
- Sending simple GET Request
- Generate URI using URIBuilder
- Working with message headers
- Get response body
- Send HTTP POST request
- Response Handlers
- Set connection timeout
No comments:
Post a Comment