{"id":53507,"library":"http2curl-v2","title":"HTTP to cURL","description":"Package http2curl converts HTTP requests to cURL command lines.","status":"active","version":"2.3.0","language":"go","source_language":null,"source_url":null,"tags":["http","curl","debugging"],"install":[{"cmd":"go get moul.io/http2curl/v2","lang":"bash","label":"Install moul.io/http2curl/v2"}],"dependencies":[],"imports":[{"symbol":"http2curl","correct":"moul.io/http2curl/v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"moul.io/http2curl/v2\"\n)\n\nfunc main() {\n\treq, _ := http.NewRequest(\"GET\", \"https://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 'convert':6 'curl':3,10,14 'debug':15 'http':1,7,13 'http2curl':5 'line':12 'packag':4 'request':8","created_at":"2026-06-15T07:42:10.708822+00:00","updated_at":"2026-06-15T07:42:10.708822+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":null,"docs":"https://pkg.go.dev/moul.io/http2curl/v2#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}}