{"id":30807619,"url":"https://github.com/hellokaton/oh-my-request","last_synced_at":"2025-09-06T02:41:34.641Z","repository":{"id":57732611,"uuid":"48535028","full_name":"hellokaton/oh-my-request","owner":"hellokaton","description":"🔮 simple request library by java8","archived":false,"fork":false,"pushed_at":"2018-01-17T02:40:52.000Z","size":39,"stargazers_count":43,"open_issues_count":0,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T16:23:03.930Z","etag":null,"topics":["http-client","network","request"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hellokaton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-24T09:01:34.000Z","updated_at":"2023-04-17T03:54:22.000Z","dependencies_parsed_at":"2022-09-13T14:51:45.504Z","dependency_job_id":null,"html_url":"https://github.com/hellokaton/oh-my-request","commit_stats":null,"previous_names":["biezhi/oh-my-request"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hellokaton/oh-my-request","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Foh-my-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Foh-my-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Foh-my-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Foh-my-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellokaton","download_url":"https://codeload.github.com/hellokaton/oh-my-request/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Foh-my-request/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273850193,"owners_count":25179300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http-client","network","request"],"created_at":"2025-09-06T02:41:33.236Z","updated_at":"2025-09-06T02:41:34.626Z","avatar_url":"https://github.com/hellokaton.png","language":"Java","readme":"# oh-my-request\r\n\r\n`HTTP` request easier operation.\r\n\r\n[![](https://img.shields.io/travis/biezhi/oh-my-request.svg)](https://travis-ci.org/biezhi/oh-my-request)\r\n[![](https://img.shields.io/maven-central/v/io.github.biezhi/oh-my-request.svg)](http://search.maven.org/#search%7Cga%7C1%7Coh-my-request)\r\n[![](https://img.shields.io/badge/license-Apache2-FF0080.svg)](https://github.com/biezhi/oh-my-request/blob/master/LICENSE)\r\n[![@biezhi on zhihu](https://img.shields.io/badge/zhihu-%40biezhi-red.svg)](https://www.zhihu.com/people/biezhi)\r\n[![](https://img.shields.io/github/followers/biezhi.svg?style=social\u0026label=Follow%20Me)](https://github.com/biezhi)\r\n\r\n# Usage\r\n\r\n**Maven ArtifactId**\r\n\r\n```xml\r\n\u003cdependency\u003e\r\n    \u003cgroupId\u003eio.github.biezhi\u003c/groupId\u003e\r\n    \u003cartifactId\u003eoh-my-request\u003c/artifactId\u003e\r\n    \u003cversion\u003e0.0.1\u003c/version\u003e\r\n\u003c/dependency\u003e\r\n```\r\n\r\n## 1. Get Request\r\n\r\n```java\r\nString body = Request.get(\"https://github.com/opensearch.xml\").body();\r\nSystem.out.println(body);\r\n```\r\n\r\n## 2. Save To File\r\n\r\n```java\r\nRequest.get(\"https://avatars3.githubusercontent.com/u/3849072?v=3\u0026s=460\")\r\n.receive(new File(\"D:/avatar.png\"));\r\n```\r\n\r\n## 3. Post Request\r\n\r\n```java\r\nRequest.post(\"http://xxxx.com\")\r\n.form(\"name\", \"jack\")\r\n.body();\r\n```\r\n\r\n## 4. Headers\r\n\r\n```java\r\nRequest.get(\"http://xxxx.com\")\r\n.header(\"User-Agent\", \"Mozilla/5.0 (Windows NT 10.0; WOW64) xxxx\")\r\n.body();\r\n```\r\n\r\n# License\r\n\r\n[Apache2](https://github.com/biezhi/oh-my-request/blob/master/LICENSE)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokaton%2Foh-my-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellokaton%2Foh-my-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokaton%2Foh-my-request/lists"}