Nice, I have test in my local computer -- but user has mentioned to the discussion never receive notification?
This will work under the following conditions:
thank you, now notification is working!
Add ?view=json to pretty much any URL. Like this one: https://elgg.org/discussion/view/3090686/restful-ready?view=json
The built-in Web Services system seems pretty crude, you might want to emulate browser fetch requests. E.g. this call fetches fresh CSRF tokens:
fetch('/refresh_token', { method: 'POST', headers: { "Content-type": "application/x-www-form-urlencoded; charset=UTF-8", "X-Requested-With": "XMLHttpRequest" }, body: "" }).then(res => res.json()).then(console.log)
Or consider using something like https://github.com/hypeJunction/hypeGraph
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.