An open API service indexing awesome lists of open source software.

https://github.com/the-black-knight-01/unirest-java-tutorial

Unirest is a lightweight HTTP client library from Mashape. Along with Java, it’s also available for Node.js, .Net, Python, Ruby, etc.
https://github.com/the-black-knight-01/unirest-java-tutorial

http-client java rest-client restful-api unirest

Last synced: 3 months ago
JSON representation

Unirest is a lightweight HTTP client library from Mashape. Along with Java, it’s also available for Node.js, .Net, Python, Ruby, etc.

Awesome Lists containing this project

README

        

# unirest-java-tutorial
Unirest is a lightweight HTTP client library from Mashape. Along with Java, it’s also available for Node.js, .Net, Python, Ruby, etc.

UniRest Java Tutorial (https://interviewbubble.com/unirest-java-tutorial/)

1. Introduction to Unirest:

i. Why Unirest needed?
ii. What is UniRest?
iii. Advantages of UniRest
iv. Features of Unirest
v. Availability and support for Unirest
2. Installation and Setup

3. Features Details and how to use:

1. Make GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS requests
2. Both synchronous and asynchronous (non-blocking) requests
3. Supports form parameters, file uploads and custom body entities
4. Easily add route parameters without ugly string concatenations
5. Supports gzip
6. Supports Basic Authentication natively
7. Customizable timeout, concurrency levels, and proxy settings
8. Customizable default headers for every request (DRY)
9. Customizable HttpClient and HttpAsyncClient implementation
10. Automatic JSON parsing into a native object for JSON responses
11. Customizable binding, with mapping from response body to Java Object

4. Demo Project: Java REST Client Using Unirest Java API