This is how you would implement it in plain php ($response is the json response of snapdeal then):
<?php
/**
 * curl -H "Snapdeal-Affiliate-Id:aaaaa" -H "Snapdeal-Token-Id:bbbbb"
 * "affiliate-feeds.snapdeal.com/feed/api/category/v1:586:1461823?expiresAt=1441751400001&signature=cvtwgjgrrbozmumlaalg" -H "Accept:application/json"
 */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "affiliate-feeds.snapdeal.com/feed/api/category/v1:586:1461823?expiresAt=1441751400001&signature=cvtwgjgrrbozmumlaalg");
curl_setopt(
    $ch, CURLOPT_HTTPHEADER,
    array(
        'Snapdeal-Affiliate-Id:aaaaa',
        'Snapdeal-Token-Id:bbbbb',
        'Accept:application/json'
    )
);
$response = curl_exec($ch);
curl_close($ch);
// work with $response here:
$data = json_decode($response);