Forum Discussion

sateeshanasani's avatar
sateeshanasani
Contributor
12 years ago

how to access the xml/json data from my community.xxxx.com

I am getting 303 error message code while accessing below url:

 

http://community.xxx.com/restapi/vc/posts/recent

while accessing the lithuim community  i am able to get the xml response.

 

that url is : http://community.lithium.com/restapi/vc/posts/recent

 

can  anyone please  help me on this issue.  I want to show the recent posts in my website of community.xxxx.com posts .

 

 

 

 

4 Replies

  • Can you please post the complete error details here, that would help us understand it in a better way.
  • JasonL's avatar
    JasonL
    Lithium Alumni (Retired)
    12 years ago

    hi sateeshanasani 

    that's because the user id 36336 does not have any REST API read permissions

     

    best practice would be to:

      • create a role for REST API - provide that role with permission for REST API read permissions
        • in Admin > Users > Permissions > Roles > Create a New Role

    2014-05-27_085810.png

     

    • assign the above role to user 36336

     

     

  • VarunGrazitti's avatar
    VarunGrazitti
    Boss
    12 years ago
    Your user does not have the permission to make a rest call, details are provided by JasonL.