{"id":19714007,"url":"https://github.com/grails/grails-http","last_synced_at":"2025-04-29T18:31:38.210Z","repository":{"id":136944803,"uuid":"54564093","full_name":"grails/grails-http","owner":"grails","description":"Grails HTTP Utility Classes","archived":true,"fork":false,"pushed_at":"2016-03-30T13:28:34.000Z","size":358,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-20T15:24:10.159Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","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/grails.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-23T13:57:40.000Z","updated_at":"2024-12-05T02:39:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"bdf0bbb8-855f-455d-bc80-625d6eae5294","html_url":"https://github.com/grails/grails-http","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"9ce5551e25596fa6701e933a2b193c140eace0f4"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grails%2Fgrails-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grails%2Fgrails-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grails%2Fgrails-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grails%2Fgrails-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grails","download_url":"https://codeload.github.com/grails/grails-http/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251481537,"owners_count":21596221,"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","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":[],"created_at":"2024-11-11T22:28:05.936Z","updated_at":"2025-04-29T18:31:38.193Z","avatar_url":"https://github.com/grails.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grails HTTP Utilities\n\nThis project contains HTTP utility classes generally useful across both client and server projects.\n \nInitially there is an Asynchronous HTTP client available that is built on Netty and designed as replacement for the synchronous RestBuilder project for Grails.\n \nThe client is however usable outside of Grails and for any general purpose.\n\n* [![Build Status](https://travis-ci.org/grails/grails-http.svg?branch=master)](https://travis-ci.org/grails/grails-http)\n\n## Example\n\n```groovy\n    import grails.http.client.*\n    import grails.async.*\n    \n    AsyncHttpBuilder client = new AsyncHttpBuilder()\n    Promise\u003cHttpClientResponse\u003e p = client.post(\"https://localhost:8080/foo/bar\") {\n        contentType 'application/json'\n        json {\n            title \"Ping\"\n        }\n    }\n    p.onComplete { HttpClientResponse resp -\u003e\n        assert resp.json.title == 'Pong'\n    }\n```        \n\n## Installation\n\nTo use the `AsyncHttpBuilder` class outside of Grails use the dependency directly:\n\n```groovy\n    compile \"org.grails:http-client:VERSION\"\n```\n    \nWhere `VERSION` is the version you wish to use. For usage within Grails there is a plugin:\n\n```groovy    \n    compile \"org.grails.plugins:async-http-builder:VERSION\"\n```    \n\nFor more information see the documentation:\n\n* [Snapshot Documentation](http://grails.github.io/grails-http/snapshot/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrails%2Fgrails-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrails%2Fgrails-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrails%2Fgrails-http/lists"}