{"id":15059327,"url":"https://github.com/elm/http","last_synced_at":"2025-04-06T18:15:09.546Z","repository":{"id":57675025,"uuid":"69991635","full_name":"elm/http","owner":"elm","description":"Make HTTP requests in Elm","archived":false,"fork":false,"pushed_at":"2023-11-16T06:45:58.000Z","size":61,"stargazers_count":155,"open_issues_count":29,"forks_count":46,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-30T15:12:18.329Z","etag":null,"topics":["elm","http"],"latest_commit_sha":null,"homepage":"https://package.elm-lang.org/packages/elm/http/latest","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elm.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-10-04T18:01:46.000Z","updated_at":"2025-01-31T07:39:50.000Z","dependencies_parsed_at":"2024-06-18T22:37:24.159Z","dependency_job_id":"a742d4f7-ff3c-4202-afa6-240ccb76429c","html_url":"https://github.com/elm/http","commit_stats":{"total_commits":58,"total_committers":5,"mean_commits":11.6,"dds":0.08620689655172409,"last_synced_commit":"81b6fdc67d8e5fb25644fd79e6b0edbe2e14e474"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elm%2Fhttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elm%2Fhttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elm%2Fhttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elm%2Fhttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elm","download_url":"https://codeload.github.com/elm/http/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247526764,"owners_count":20953143,"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":["elm","http"],"created_at":"2024-09-24T22:41:38.386Z","updated_at":"2025-04-06T18:15:09.510Z","avatar_url":"https://github.com/elm.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP\n\nMake HTTP requests in Elm. Talk to servers.\n\n**I very highly recommend reading through [The Official Guide](https://guide.elm-lang.org) to understand how to use this package!**\n\n\n## Examples\n\nHere are some commands you might create to send HTTP requests with this package:\n\n```elm\nimport Http\nimport Json.Decode as D\n\ntype Msg\n  = GotBook (Result Http.Error String)\n  | GotItems (Result Http.Error (List String))\n\ngetBook : Cmd Msg\ngetBook =\n  Http.get\n    { url = \"https://elm-lang.org/assets/public-opinion.txt\"\n    , expect = Http.expectString GotBook\n    }\n\nfetchItems : Cmd Msg\nfetchItems =\n  Http.post\n    { url = \"https://example.com/items.json\"\n    , body = Http.emptyBody\n    , expect = Http.expectJson GotItems (D.list (D.field \"name\" D.string))\n    }\n```\n\nBut again, to really understand what is going on here, **read through [The Official Guide](https://guide.elm-lang.org).** It has sections describing how HTTP works and how to use it with JSON data. Reading through will take less time overall than trying to figure everything out by trial and error!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felm%2Fhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felm%2Fhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felm%2Fhttp/lists"}