Hi, I have create a simple RestAPI to check if user is logged or not. With AngularJS I did a request:
[code] $http({ method: "post", url: "http://192.168.1.6:8085/.rest/public-users/v1/checkLogin", headers: { Authorization: 'Basic ' + _authdata } }).then(function successCallback(response) { console.log("logged in"); }, function errorCallback(response) { console.log("login failed"); });[/code] problem is that Magnolia doesn't allow OPTIONS method on the request, and when I'm trying to do the request it give me this error: [code]2016-10-31 11:25:14,670 ERROR info.magnolia.rest.RestExceptionMapper: Exception thrown executing REST endpoint, returning 500 org.jboss.resteasy.spi.DefaultOptionsMethodException: No resource method found for options, return OK with Allow header[/code] Anyone can help me please ? -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=32f524a9-2d70-4b29-b1a4-2a1ece301aae ---------------------------------------------------------------- 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: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------