curl –fail-with-body

1 · Daniel Stenberg · Feb. 11, 2021, 8:08 a.m.
That’s --fail-with-body, using two dashes in front of the name. This is a brand new command line option added to curl, to appear in the 7.76.0 release. This function works like --fail but with one little addition and I’m hoping the name should imply it good enough: it also provides the response body. The --fail … Continue reading curl –fail-with-body →...