I have enabled cookie engine in curl using curl_easy_setopt on CURLOPT_COOKIEFILE and CURLOPT_COOKIEJAR.
In the response from server, the cookies are set.
In subsequent requests, CURL is not sending cookies along with the request only if it is a POST request. For GET requests CURL is sending cookies along.
Should I indicate CURL in some other way for POST requests so it would send cookies.
Any help is appreciated.
Thanks, Arun