Forum Discussion

kclark's avatar
kclark
Contributor
9 years ago

Access to the specified resource has been forbidden

Hello,


When attempting to use the REST API and make any calls to the community API , I am getting the following error.

"Access to the specified resource has been forbidden"

 

I have admin access to the community and have granted my user REST API access.


I am doing a POST to the following endpoint:

curl -XPOST 'http://<community url>/restapi/vc/authentication/sessions/login?user.login=<user login>&user.password=<user password>'

 

Any assistance will be much appreciated.

 

  • DougS's avatar
    DougS
    Khoros Oracle

    I would recommend making the call over HTTPS instead of over HTTP (or your credentials will be passed in the clear). If that is not the issue (HTTP has been turned off for that URL), then I would recommend contacting Lithium support because that should work.

     

    -Doug