Friday, April 15, 2022

[SOLVED] How do i add &debug=true?

Issue

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 '^#'

Solution

& 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 '^#'


Answered By - chepner
Answer Checked By - Pedro (WPSolving Volunteer)