I'm submitting a cURL request that looks something like this:
curl -s -X GET http://google.com
The response I am supposed to be getting back is a json response.
Easy, right?
Instead I'm getting the json response back intermixed with several cURL progress bars.
Example:
\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\n 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n100 62 100 36 100 26 560 404 --:--:-- --:--:-- --:--:-- 562\n
Why is this happening and how do I get it to stop?
Even when I redirect the output to a file, I still get this progress bar information intermixed with the json output.
Any help here would be great!
Aucun commentaire:
Enregistrer un commentaire