HTTP Requests in Java: Sending Simple HTTP Requests
Java
| Beginner
- 11 videos | 1h 18m 36s
- Includes Assessment
- Earns a Badge
The HttpURLConnection is the oldest implementation of an HTTP client in Java and is still widely used today due to its simplicity and the fact that it is very lightweight. Use this course to familiarize yourself with different forms of HTTP requests. Try your hand at constructing a basic GET request to retrieve data, submitting it to a remote server, and processing the response that is returned. You'll also examine the use of a POST request to submit data to create a resource at a server, a PUT request to update a resource, and a DELETE request to remove it. You'll also look into setting a timeout for requests that take too long to process. After finishing this course, you'll be able to identify various HTTP requests and how these can be formulated and communicated in a Java app using the HttpURLConnection class.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseSet up a maven project to build the http client applicationUse the httpurlconnection to configure and send an http get requestRecognize various fields available in the response returned for an http get requestTransform the body of an http response containing json data into a formatted json stringInclude query parameters when submitting an http get request by adding them to the url
-
Set up and send an http post request along with json data in the request bodySend http put and delete requests to modify or delete a resource at the serverDescribe the role of a head request to obtain information about a resourceSet an upper limit on the amount of time you can wait for an http requestSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 31s
-
9m 57s
-
10m 16s
-
4m 53s
-
12m 11s
-
4m 34s
-
10m 11s
-
9m 21s
-
7m 3s
-
5m 23s
-
2m 17s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.