{"id":19544454,"url":"https://github.com/selectnull/endpoint","last_synced_at":"2025-07-10T09:38:44.820Z","repository":{"id":168744651,"uuid":"643658942","full_name":"selectnull/endpoint","owner":"selectnull","description":"CLI program to make HTTP requests","archived":false,"fork":false,"pushed_at":"2023-08-30T19:33:55.000Z","size":18,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-06T20:54:38.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/selectnull.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,"zenodo":null}},"created_at":"2023-05-21T21:12:58.000Z","updated_at":"2023-06-16T09:43:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"d8aa18ef-6ae1-43fd-a6f5-5b1f802b6c6d","html_url":"https://github.com/selectnull/endpoint","commit_stats":null,"previous_names":["selectnull/endpoint"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/selectnull/endpoint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectnull%2Fendpoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectnull%2Fendpoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectnull%2Fendpoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectnull%2Fendpoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selectnull","download_url":"https://codeload.github.com/selectnull/endpoint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectnull%2Fendpoint/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264559717,"owners_count":23628040,"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-11T03:28:58.190Z","updated_at":"2025-07-10T09:38:44.793Z","avatar_url":"https://github.com/selectnull.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"endpoint\n========\n\n`endpoint` is command line program to make HTTP requests to API backend.\nIn a nutshell, instead of this:\n\n    curl http://localhost:8000/api/foos -d @payload.json\n\nyou run this:\n\n    endpoint post https://localhost:8000/api/foos @payload.json\n\nor, with a little bit of configuration, you run this:\n\n    endpoint post foos @payload.json\n    \n\nConfiguration\n-------------\n\nThe default configuration file is `.endpoint.toml`. The program tries to\nread it in current directory. If the config file is not found, it tries\nto read it from the parent directories, all the way up to `$HOME`. If no\nconfig file is found, the program uses the default values.\n\nThe most common (and useful) configuration option is `base_url`.\n\n    base_url = \"http://localhost:8000/api/\"\n\nIt allows to cut on the boilerplate and turns this:\n\n    endpoint get http://localhost:8000/api/some-endpoint\n\ninto this:\n\n    endpoint get some-endpoint\n\n\nSyntax\n------\n\n    endpoint \u003coptions\u003e HTTP_VERB API_ENDPOINT \u003cPAYLOAD\u003e\n\n`endpoint` understands basic HTTP verbs: GET, HEAD, POST, PUT, DELETE, and PATCH.\nThey do not need to be capitalized on the command line.\n\n`API_ENDPOINT` is full URL or contacenated with `base_url` configuration\noption.\n\n`PAYLOAD` is optional and can be literal or a filename if prefixed with\n@.\n\nExamples\n--------\n\nMake a GET request at `version` endpoint.\n\n    endpoint get http://localhost:8000/api/version\n\nMake a POST request at `items` endpoint, sending literal JSON string as\nbody.\n\n    endpoint post http://localhost:8000/api/items '{\"name\": \"New item\"}'\n\nMake a DELETE request at specific `items` endpoint.\n\n    endpoint delete http://localhost:8000/api/items/1\n\nMake a PUT request at specific `items` ednpoint, with body read from a\nfile.\n\n    endpoint put http://localhost:8000/api/items/1 @item.json\n\n\nInstall\n-------\n\nThe binaries are not provided, use cargo to build and install.\n\n    cargo build\n\n`cargo` can be installed by following [Install\nRust](https://www.rust-lang.org/tools/install) documentation.\n\n\nLicense\n-------\n\nendpoint is MIT licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselectnull%2Fendpoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselectnull%2Fendpoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselectnull%2Fendpoint/lists"}