Get page output with curl –fail
First of all the maximum value for the error code(or exit code) is 255. Here is the reference. Also, the –fail will not allow you to do what you are looking for. However, you can use alternate ways(writing a shell script) to handle the scenario, but not sure it will be effective or not for … Read more