$url = "https://a...content-available-to-author-only...t.in/v1/external/auth/login";
curl_setopt($curl, CURLOPT_HTTPHEADER
, array('Accept: application/json', 'Content-Type: application/json')); // $temp_id= $nse_list_val['id'];
$data = <<<DATA
{
"coolrj00786@gmail.com":"","Rajendra@98":""
}
DATA;
JHVybCA9ICJodHRwczovL2EuLi5jb250ZW50LWF2YWlsYWJsZS10by1hdXRob3Itb25seS4uLnQuaW4vdjEvZXh0ZXJuYWwvYXV0aC9sb2dpbiI7CiAgICAKICAgICRjdXJsID0gY3VybF9pbml0KCk7CiAgICBjdXJsX3NldG9wdCgkY3VybCwgQ1VSTE9QVF9VUkwsICR1cmwpOwogICAgY3VybF9zZXRvcHQoJGN1cmwsIENVUkxPUFRfSFRUUEhFQURFUiwgYXJyYXkoJ0FjY2VwdDogYXBwbGljYXRpb24vanNvbicsICdDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24nKSk7CiAgICBjdXJsX3NldG9wdCgkY3VybCwgQ1VSTE9QVF9SRVRVUk5UUkFOU0ZFUiwgdHJ1ZSk7CiAgICAgICAgLy8gJHRlbXBfaWQ9ICRuc2VfbGlzdF92YWxbJ2lkJ107CiAgICAkZGF0YSA9IDw8PERBVEEKICAgIHsKICAgICJjb29scmowMDc4NkBnbWFpbC5jb20iOiIiLCJSYWplbmRyYUA5OCI6IiIKICAgIH0KICAgIERBVEE7CiAgICAKICAgIGN1cmxfc2V0b3B0KCRjdXJsLCBDVVJMT1BUX1BPU1RGSUVMRFMsICRkYXRhKTsKICAgIAogICAgJHJlc3AgPSBjdXJsX2V4ZWMoJGN1cmwpOwogICAgY3VybF9jbG9zZSgkY3VybCk7CiAgICAKICAgICRkYXRhX2pzb24gPSAganNvbl9kZWNvZGUoJHJlc3AsIHRydWUpOwogICAgCiAgICBwcmludF9yKCRkYXRhX2pzb24pOw==
$url = "https://a...content-available-to-author-only...t.in/v1/external/auth/login";
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Accept: application/json', 'Content-Type: application/json'));
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
// $temp_id= $nse_list_val['id'];
$data = <<<DATA
{
"coolrj00786@gmail.com":"","Rajendra@98":""
}
DATA;
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
$resp = curl_exec($curl);
curl_close($curl);
$data_json = json_decode($resp, true);
print_r($data_json);