As shown in image when i am trying to run https://www.example.com/Push_Order.php?orderId=1562 It gives me 401 Unathorized error. But when I run this Url in browser it run well.
Any Idea where is my mistake or what i am missing?
PHP Curl Code
<?php
$ch = curl_init("https://www.example.com/Push_Order.php?orderId=1562");
curl_setopt($ch);
$response = curl_exec($ch);
curl_close($ch);
?>
and this Push_Order.php file contains only insert query.
