diff --git a/docs/FAQ b/docs/FAQ index a23965bdaeebace51614aa9323c685662bdd25de..e995142d637d1a5922a610418f1429f77fb0c7fc 100644 --- a/docs/FAQ +++ b/docs/FAQ @@ -1109,6 +1109,9 @@ FAQ message, curl has a dedicated option for that: -f (CURLOPT_FAILONERROR in 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