Revathy / Khaled,

You are getting a 403 error so check REST security first before you go about 
setting a CORS header.

 - Are you accessing the endpoint as anonymous? The anonymous account is 
specifically denied access to REST endpoints. 
 - If using another account, make sure the account has the "rest" role assigned 
to it.
 - Make sure the "rest" role has GET and POST access to your workspace. The 
edge is masked in your example so I can't tell. Only the "website" workspace is 
granted by default.

https://documentation.magnolia-cms.com/display/DOCS/REST+API#RESTAPI-Security

--Antti

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=4ad95728-9c0c-4b27-b544-58be8a042158


----------------------------------------------------------------
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: <[email protected]>
----------------------------------------------------------------

Reply via email to