curl: (3) [globbing] error: bad range specification after pos NN
This is an error when you try to call a URL containing {} or [] at NN position.
curl: (3) [globbing] error: bad range specification after pos NNN
how I used it
/usr/bin/curl -s http://somesite.ca/api?filter[date]=last_12_hours
solution: by using --globoff
/usr/bin/curl -s --globoff http://somesite.ca/api?filter[date]=last_12_hours
Credit:
https://bbs.archlinux.org/viewtopic.php?id=74675
2 comments:
Thank you!
you're welcome
Post a Comment