SyntaxFix
Write A Post
Hire A Developer
Questions
Your code sets the timeout to 1000 seconds. For milliseconds, use CURLOPT_TIMEOUT_MS.
CURLOPT_TIMEOUT_MS