Mahbubur Rahman

Can I call SugarAPI form same domain?

Discussion created by Mahbubur Rahman on Jun 7, 2016
Latest reply on Jun 7, 2016 by Angel Magana

If I call the SugarAPI form same domain

Like as file using

$base_url = ""; in my code, I am not getting "access_token"


Note: I was following the link


The steps I've followed:

1. Changed $base_url = ""; in the code of "test.php" file

2. Changed the username and password in the code of "test.php" file as I have

3. Uploaded the "test.php" file to

4. Then browsed


I am not getting response in the tab of Developer tools > Network > Preview.

I appreciate your answer.