curl -G vs curl -X GET

1 · Daniel Stenberg · May 15, 2021, 12:08 a.m.
(This is a repost of a stackoverflow answer I once wrote on this topic. Slightly edited. Copied here to make sure I own and store my own content properly.) curl knows the HTTP method You normally use curl without explicitly saying which request method to use. If you just pass in a HTTP URL like … Continue reading curl -G vs curl -X GET →...