Home > front end >  How do i add &debug=true?
How do i add &debug=true?

Time:04-07

I'm doing a curl and I want to get more details about the errors, and for that I should use &debug=true but I dont know where to put it and how.

This is the curl that I'm using and which I want to get more details about the errors :

curl -s "localhost:9115/probe?target=http://linux.org&module=http_2xx" | grep -v '^#'

CodePudding user response:

& is a separator; add debug=true just like you added module=http_2xx.

curl -s "localhost:9115/probe?target=http://linux.org&module=http_2xx&debug=true" | grep -v '^#'
  • Related