Jump to content

Need help with RESTAPI


Poojitha

Recommended Posts

Posted

Hi,
We are trying to create an API with the instructions that were provided in the guides but we seem to be unable to get past the first step.

We followed these steps precisely:
In order to use the REST API:

Download this file.
Upload it to the /api folder in your site's directory (/opt/IPS_4.1.8.1/api).
Rename it to '.htaccess' (with no file name).

And got this error:
The API endpoint is not giving the expected response. Check you followed the instructions correctly. The URL being tested is: https://community.bi.../api/core/hello

When visiting https://community.bi.../api/core/hello we get this error:
{
"errorCode": "3S290\/7",
"errorMessage": "INVALID_API_KEY"
}

can u please let us know what could be the cause ? Thank you.

 

 

Posted

when doing the test, you also need to send an API Key, otherwise it will deny you.

 

If you uploaded the htaccess file to the right spot, and have correct perms on it. imo thats what it sounds like, just need to create an api key and send it in your test file.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...