All Projects → hellokaton → oh-my-request

hellokaton / oh-my-request

Licence: Apache-2.0 license
🔮 simple request library by java8

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to oh-my-request

Phin
Node HTTP client
Stars: ✭ 449 (+995.12%)
Mutual labels:  http-client, request
Create Request
Apply interceptors to `fetch` and create a custom request function.
Stars: ✭ 34 (-17.07%)
Mutual labels:  http-client, request
Urllib
Request HTTP(s) URLs in a complex world
Stars: ✭ 600 (+1363.41%)
Mutual labels:  http-client, request
axios-for-observable
A RxJS wrapper for axios, same api as axios absolutely
Stars: ✭ 13 (-68.29%)
Mutual labels:  http-client, request
httper
An asynchronous HTTP(S) client built on top of hyper.
Stars: ✭ 16 (-60.98%)
Mutual labels:  http-client, request
Gretchen
Making fetch happen in TypeScript.
Stars: ✭ 301 (+634.15%)
Mutual labels:  http-client, request
Ky
🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API
Stars: ✭ 7,047 (+17087.8%)
Mutual labels:  http-client, request
centra
Core Node.js HTTP client
Stars: ✭ 52 (+26.83%)
Mutual labels:  http-client, request
Rxios
A RxJS wrapper for axios
Stars: ✭ 119 (+190.24%)
Mutual labels:  http-client, request
Http Client
A high-performance, high-stability, cross-platform HTTP client.
Stars: ✭ 86 (+109.76%)
Mutual labels:  http-client, request
electron-request
Zero-dependency, Lightweight HTTP request client for Electron or Node.js
Stars: ✭ 45 (+9.76%)
Mutual labels:  http-client, request
Wretch
A tiny wrapper built around fetch with an intuitive syntax. 🍬
Stars: ✭ 2,285 (+5473.17%)
Mutual labels:  http-client, request
request-extra
⚡️ Extremely stable HTTP request module built on top of libcurl with retries, timeouts and callback API
Stars: ✭ 14 (-65.85%)
Mutual labels:  http-client, request
Ky Universal
Use Ky in both Node.js and browsers
Stars: ✭ 421 (+926.83%)
Mutual labels:  http-client, request
go-axios
HTTP Request package for golang.
Stars: ✭ 29 (-29.27%)
Mutual labels:  http-client, request
Gout
gout to become the Swiss Army Knife of the http client @^^@---> gout 是http client领域的瑞士军刀,小巧,强大,犀利。具体用法可看文档,如使用迷惑或者API用得不爽都可提issues
Stars: ✭ 749 (+1726.83%)
Mutual labels:  http-client, request
WaterPipe
URL routing framework, requests/responses handler, and HTTP client for PHP
Stars: ✭ 24 (-41.46%)
Mutual labels:  http-client, request
puzzle-warden
🔌 Improved http client with epic features for creating fast and scalable applications.
Stars: ✭ 41 (+0%)
Mutual labels:  http-client, request
Oh My Request
🔮 simple request library by java8
Stars: ✭ 44 (+7.32%)
Mutual labels:  http-client, request
Baseokhttpv3
🔥OkHttp的二次封装库,提供各种快速使用方法以及更为方便的扩展功能。提供更高效的Json请求和解析工具以及文件上传下载封装,HTTPS和Cookie操作也更得心应手。
Stars: ✭ 121 (+195.12%)
Mutual labels:  http-client, request

oh-my-request

HTTP request easier operation.

@biezhi on zhihu

Usage

Maven ArtifactId

<dependency>
    <groupId>io.github.biezhi</groupId>
    <artifactId>oh-my-request</artifactId>
    <version>0.0.1</version>
</dependency>

1. Get Request

String body = Request.get("https://github.com/opensearch.xml").body();
System.out.println(body);

2. Save To File

Request.get("https://avatars3.githubusercontent.com/u/3849072?v=3&s=460")
.receive(new File("D:/avatar.png"));

3. Post Request

Request.post("http://xxxx.com")
.form("name", "jack")
.body();

4. Headers

Request.get("http://xxxx.com")
.header("User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) xxxx")
.body();

License

Apache2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].