{"id":51135,"library":"http2curl","title":"http2curl","description":"A Go package to convert HTTP requests to cURL command lines.","status":"active","version":"1.0.0","language":"go","source_language":null,"source_url":"https://github.com/moul/http2curl","tags":["curl","http","debugging","conversion"],"install":[{"cmd":"go get moul.io/http2curl","lang":"bash","label":"Install moul.io/http2curl"}],"dependencies":[],"imports":[{"symbol":"http2curl","correct":"moul.io/http2curl"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"moul.io/http2curl\"\n)\n\nfunc main() {\n\treq, _ := http.NewRequest(\"GET\", \"http://example.com\", nil)\n\tcurl, _ := http2curl.GetCurlCommand(req)\n\tfmt.Println(curl)\n}","lang":"go","description":"Convert an HTTP request to a cURL command."},"warnings":[],"env_vars":null,"search_vec":"'command':11 'convers':16 'convert':6 'curl':10,13 'debug':15 'go':3 'http':7,14 'http2curl':1 'line':12 'packag':4 'request':8","created_at":"2026-06-15T06:01:15.683863+00:00","updated_at":"2026-06-15T06:01:15.683863+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/moul/http2curl","github":"https://github.com/moul/http2curl","docs":"https://pkg.go.dev/moul.io/http2curl#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}