Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
11 years, 1 month ago
If I try to access the following from firefox everything works even if I'm not logged in
Resolving api.stackexchange.com... 184.108.40.206
Connecting to api.stackexchange.com|220.127.116.11|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request
2012-05-08 01:46:49 ERROR 400: Bad Requ
Why do I get an error message?
May 7, 2012 at 21:50
You'll need to quote that URL.
(And note that the payload is gzip-compressed.)
May 7, 2012 at 21:54
321 2 2 silver badges 9 9 bronze badges
The problem is the
& characters in the URL. In most shells,
foo & bar means "start running
foo in the background while running
bar in the foreground". Put quotes around the URL to make sure it gets passed as a single parameter to
May 7, 2012 at 22:01
log in to answer this question.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only