This is stars and forks stats for /moul/http2curl repository. As of 19 Apr, 2024 this repository has 701 stars and 63 forks.
http2curl 📐 Convert Golang's http.Request to CURL command line To do the reverse operation, check out mholt/curl-to-go. Example import ( "http" "moul.io/http2curl" ) data := bytes.NewBufferString(`{"hello":"world","answer":42}`) req, _ := http.NewRequest("PUT", "http://www.example.com/abc/def.ghi?jlk=mno&pqr=stu", data) req.Header.Set("Content-Type", "application/json") command, _ := http2curl.GetCurlCommand(req) fmt.Println(command) // Output: curl -X PUT -d "{\"hello\":\"world\",\"answer\":42}"...
http2curl 📐 Convert Golang's http.Request to CURL command line To do the reverse operation, check out mholt/curl-to-go. Example import ( "http" "moul.io/http2curl" ) data := bytes.NewBufferString(`{"hello":"world","answer":42}`) req, _ := http.NewRequest("PUT", "http://www.example.com/abc/def.ghi?jlk=mno&pqr=stu", data) req.Header.Set("Content-Type", "application/json") command, _ := http2curl.GetCurlCommand(req) fmt.Println(command) // Output: curl -X PUT -d "{\"hello\":\"world\",\"answer\":42}"...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
open-power/op-build | MakefileShellPerl | 98 | 0 | 181 | 0 |
atom/flight-manual.atom.io | SCSSRubyJavaScript | 627 | 0 | 2k | 0 |
BDHU/minimalist | SCSSHTMLRuby | 97 | 0 | 102 | 0 |
odoo/documentation | reStructuredTextSCSSPython | 546 | -3 | 5.2k | +37 |
storming0x/foundry_strategy_mix | SolidityMakefile | 105 | 0 | 33 | 0 |
composer/getcomposer.org | Standard MLPHPTwig | 515 | +1 | 542 | 0 |
RedHatter/svelte-devtools | SvelteJavaScriptTypeScript | 1.1k | 0 | 69 | 0 |
ElemeFE/mint-ui | VueJavaScriptCSS | 16.6k | +1 | 3.6k | +2 |
DefectDojo/django-DefectDojo | HTMLPythonJavaScript | 3.1k | +9 | 1.4k | +3 |
didi/DoraemonKit | JavaObjective-CKotlin | 19.7k | 0 | 3.1k | 0 |