AnsweredAssumed Answered

Problem with connecting community version from my localhost

Question asked by jagan srinivasan on Apr 2, 2017
Latest reply on Apr 5, 2017 by jagan srinivasan

Hello ,

    I can able to connect the trial verion of the CRM using the following way.

   

Method : POST
url : https://xxxxxxxx.trial.sugarcrm.eu/rest/v10/oauth2/token

postData: { "grant_type":"password", "client_id":"sugar", "client_secret":"", "username":"xxxxx", "password":"xxxxxx", "platform":"base" }

 

So I can Able to get the Oauth-token and so able to access data in the CRM. But when come to the Community version I installed Sugar Community verion in my system using PHP server 

 

when I send request using 

http://localhost/sugarCrm/index.php /rest/v10/oauth2/token

postData: { "grant_type":"password", "client_id":"sugar", "client_secret":"", "username":"xxxxx", "password":"xxxxxx", "platform":"base" }

 

I can not able to get the JSON response it is redirecting to the login page(ei. my response is like a HTML content). I think it may be SSL certificate problem but I am not sure what I am doing wrong.

 

Can anyone please help me?

Outcomes