Curl working on HTTP link but not on HTTPS link Amazon EC2 Linux

I have been developing an API in php,
When I was doing curl on HTTP link everything was pitch perfect but when I replaced it with the HTTPS link(Which also sends same output-Checked on REST client).
Nothing is being Hit, and when I echo the variable I am getting " Disallowed Key Characters".

Help

What is the code?

add this to the result set being returned,

[php]json_decode($result);[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service