libcurl - How to get http status code directly into a variable in cURL lib? -
i know curl_easy_getinfo function can used http status code. there anyway set variable (curl_easy_setopt) , read value directly after performing request?
no, use curl_easy_getinfo() extract information previous transfer. http response codes: curlinfo_response_code.
Comments
Post a Comment