Quantcast
Channel: Passing a URL with brackets to curl - Stack Overflow
Browsing latest articles
Browse All 6 View Live

Answer by Maxim Suslov for Passing a URL with brackets to curl

In the documentation it is written:globbing lettersThe curl command line tool supports "globbing" of URLs. It means that you can create ranges and lists using [N-M] and {one,two,three} sequences. The...

View Article



Answer by Dashrath Mundkar for Passing a URL with brackets to curl

None of the above answers worked for me, I have to replace all opening/closing brackets with %5B and %5D.[ ---> %5B and for] ---> %5DMy initial curl url was like this...

View Article

Answer by lancepants for Passing a URL with brackets to curl

I was getting this error though there were no (obvious) brackets in my URL, and in my situation the --globoff command will not solve the issue.For example (doing this on on mac in iTerm2):for endpoint...

View Article

Answer by Rich for Passing a URL with brackets to curl

Globbing uses brackets, hence the need to escape them with a slash \. Alternatively, the following command-line switch will disable globbing:--globoff (or the short-option version: -g)Ex:curl --globoff...

View Article

Answer by chaimp for Passing a URL with brackets to curl

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...

View Article


Passing a URL with brackets to curl

If I try to pass a URL to curl that contains brackets, it fails with an error:$ curl 'http://www.google.com/?TEST[]=1'curl: (3) [globbing] illegal character in range specification at pos 29However, if...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images