4 ms·
curl inferring the HTTP method from options is just bad design. It should have always been explicit via `-X`, but weirdly enough it sometimes warns when using t
by silverwind 4y ago
curl inferring the HTTP method from options is just bad design. It should have always been explicit via `-X`, but weirdly enough it sometimes warns when using that option.
Also, it seems some curl behaviours live in the past where only GET and POST verbs exists, ignoring others like PUT and PATCH.
- chrsig 4y agoThey didn't live in the past when implemented :) Backwards compatibility is a wonderful thing, but leads to anachronisms 20 years later. `-X` exists for anyone that doesn't want curl's divination