Quantcast
Channel: Passing a URL with brackets to curl - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Answer by chaimp for Passing a URL with brackets to curl

$
0
0

Add -g to your command:

-g, --globoff      This option switches off the "URL globbing parser". When you set this option, you can      specify URLs that contain the letters {}[] without having curl itself interpret them.      Note that these letters are not normal legal URL contents but they should be encoded      according to the URI standard.      Example:       curl -g "https://example.com/{[]}}}}"

curl.se/docs/manpage.html#-g


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>