{"id":13815714,"url":"https://github.com/tj/burl","last_synced_at":"2026-03-07T20:32:08.436Z","repository":{"id":3687127,"uuid":"4757327","full_name":"tj/burl","owner":"tj","description":"better curl(1) through augmentation","archived":false,"fork":false,"pushed_at":"2013-02-04T22:35:09.000Z","size":137,"stargazers_count":136,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T16:27:28.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tj.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-23T00:17:17.000Z","updated_at":"2025-03-07T12:49:10.000Z","dependencies_parsed_at":"2022-09-15T16:11:31.083Z","dependency_job_id":null,"html_url":"https://github.com/tj/burl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tj/burl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj%2Fburl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj%2Fburl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj%2Fburl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj%2Fburl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tj","download_url":"https://codeload.github.com/tj/burl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tj%2Fburl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30229744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-08-04T04:03:56.568Z","updated_at":"2026-03-07T20:32:08.408Z","avatar_url":"https://github.com/tj.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Better curl(1)\n\n  `burl(1)` is a tiny shell script augmenting `curl(1)` with some helpful shortcuts.\n  \n    $ POST '{\"title\":\"better curl(1)\"}' /todo/item\n\n## Installation\n\n    $ make install\n\n## Optional hostname\n\n By default `burl(1)` will assume \"http://localhost:3000\", however you\n can alter this default by exporting `BURL` in your terminal session or `.profile`:\n\n```\n$ export BURL=http://site-im-testing.com\n$ burl /pathname\n```\n\n Or like usual you can specify a full url:\n\n```\n$ burl http://google.com\n```\n\n## -j, --json DATA\n\n  __POST__ data as \"Content-Type: application/json\":\n  \n```\n$ burl -j {\"name\":\"tobi\"} /user\n```\n\n## HTTP verbs\n\n  Instead of the typical `-X DELETE` verb usage with `curl(1)`, you may use\n  the verbs directly, for example:\n\n```\n$ burl PATCH -d 'email=tobi@learnboost.com' /user/12\n$ burl DELETE /users\n```\n\n## JSON request bodies\n\n Usually when you want to request with some JSON you do something like:\n\n```\n$ curl -X PATCH -d '{\"name\":\"tobi\"}' -H \"Content-Type: application/json\" http://localhost:3000/user/12\n```\n\n With `burl(1)` you can simply add a JSON array or object after the HTTP verb:\n\n```\n$ burl PATCH '{\"name\":\"tobi\"}' /user/12\n$ burl POST [1,2,3] /numbers\n```\n\n## JSON requests from files\n\n  To issue a request with the contents of `./some.json`, instead\n  of writing:\n\n```\n$ curl --data @some.json -H \"Content-Type: application/json\" http://localhost:3000/\n```\n\n  Simply invoke:\n\n```\n$ POST @some.json /\n```\n\n## Expressive header fields\n\n  With `burl(1)` you can define header fields without `-H`:\n\n```\n$ burl If-None-Match: etag /users\n$ burl If-None-Match: etag Accept: application/json /users\n```\n\n## Accept shorthand\n\n  Currently `.json`, `.text` and `.html` shorthands are\n  available and set the Accept header field for you:\n\n```\n$ burl /users\n$ burl /users .json\n$ burl /users .text\n$ burl /users .html\n```\n\n## Extras\n\n  * Added support for prettyjson. It needs python and json.tool module.\n\n## Aliases\n\n  Try these aliases if you want to get fancy:\n\n```\nalias GET='burl GET'\nalias HEAD='burl -I'\nalias POST='burl POST'\nalias PUT='burl PUT'\nalias PATCH='burl PATCH'\nalias DELETE='burl DELETE'\nalias OPTIONS='burl OPTIONS'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftj%2Fburl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftj%2Fburl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftj%2Fburl/lists"}