mirror of https://github.com/moparisthebest/curl
FAQ: mention -w in the 4.20 answer as well
This commit is contained in:
parent
889de6b285
commit
accbbd7dc3
3
docs/FAQ
3
docs/FAQ
|
@ -1109,6 +1109,9 @@ FAQ
|
||||||
message, curl has a dedicated option for that: -f (CURLOPT_FAILONERROR in
|
message, curl has a dedicated option for that: -f (CURLOPT_FAILONERROR in
|
||||||
libcurl speak).
|
libcurl speak).
|
||||||
|
|
||||||
|
You can also use the -w option and the variable %{response_code} to extract
|
||||||
|
the exact response code that was return in the response.
|
||||||
|
|
||||||
|
|
||||||
5. libcurl Issues
|
5. libcurl Issues
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue