I guess the problem is that you didn't set any permissions in Magnolia 
regarding your rest endpoint so the URL you are calling is protected and 
Magnolia requires you to login.

You first have to enable web access for your endpoint, for example if your 
endpoint enables you to get "posts" from your rest api, then you have to set at 
least GET access for this URL (/.rest/posts).

To see an example look at the demo (like http://demo.magnolia-cms.com), after 
login open the Security App -> Roles -> open the rest role and the web access 
tab. There you could set the appropriate permissions for the anonymous user.

This is also documented here 
https://documentation.magnolia-cms.com/display/DOCS/REST+module

HTH
Lars

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=675573c2-50c1-425b-9817-a2f49d1bd3b1


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to