{"id":20023418,"url":"https://github.com/niku/hobot_output_http","last_synced_at":"2026-05-10T13:35:23.844Z","repository":{"id":66601484,"uuid":"90855193","full_name":"niku/hobot_output_http","owner":"niku","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-24T14:11:37.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T16:41:32.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niku.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":"2017-05-10T11:08:31.000Z","updated_at":"2017-05-10T11:13:19.000Z","dependencies_parsed_at":"2023-11-22T11:46:14.617Z","dependency_job_id":null,"html_url":"https://github.com/niku/hobot_output_http","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fhobot_output_http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fhobot_output_http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fhobot_output_http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fhobot_output_http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niku","download_url":"https://codeload.github.com/niku/hobot_output_http/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241455454,"owners_count":19965611,"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-13T08:46:22.237Z","updated_at":"2026-05-10T13:35:18.804Z","avatar_url":"https://github.com/niku.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hobot.Output.HTTP\n\n**TODO: Add description**\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `hobot_output_http` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:hobot_output_http, \"~\u003e 0.1.0\"}]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/hobot_output_http](https://hexdocs.pm/hobot_output_http).\n\n## Usage\n\n```console\niex(1)\u003e defmodule MyModule do\n...(1)\u003e   def do_convert(topic, data) do\n...(1)\u003e     [:post, {'http://httpbin.org/post', [], [], data}, [], []]\n...(1)\u003e   end\n...(1)\u003e end\n\niex(2)\u003e topic_map = %{ \"foo\" =\u003e \u0026MyModule.do_convert/2 }\n\niex(3)\u003e Hobot.Output.HTTP.start_link(topic_map, [], [])\n\niex(4)\u003e Hobot.publish(\"foo\", \"hello~\")\n\n08:13:01.843 [debug] {:ok, {{'HTTP/1.1', 200, 'OK'}, [{'connection', 'keep-alive'}, {'date', 'Sat, 20 May 2017 23:13:01 GMT'}, {'via', '1.1 vegur'}, {'server','meinheld/0.6.1'}, {'content-length', '281'}, {'content-type', 'application/json'}, {'access-control-allow-origin', '*'}, {'access-control-allow-credentials', 'true'}, {'x-powered-by', 'Flask'}, {'x-processed-time', '0.000798940658569'}], '{\\n  \"args\": {}, \\n  \"data\": \"hello~\", \\n  \"files\": {}, \\n  \"form\": {}, \\n  \"headers\": {\\n    \"Connection\": \"close\", \\n    \"Content-Length\": \"6\", \\n    \"Content-Type\": \"\", \\n    \"Host\": \"httpbin.org\"\\n  }, \\n  \"json\": null, \\n  \"origin\": \"124.100.44.46\", \\n  \"url\": \"http://httpbin.org/post\"\\n}\\n'}}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniku%2Fhobot_output_http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniku%2Fhobot_output_http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniku%2Fhobot_output_http/lists"}