I don't know what's the problem with this. But my curl doesn't work. I tried everything research everywhere and my last option is this, I tried to remove all my code and remain only this
echo "before curl";
$curl_handle=curl_init();
echo "after curl";
Then my output is only
"before curl", so therefore there's a problem with my curl and not other codes.
Someone help me. I deployed it on Amazon Web Service.
Is it possible that it doesn't accept request from CURL? or do I need to install any library?
CURL is working on my local.