Timeline for Element API throws 404 when not logged into CP
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 16, 2020 at 4:26 | comment | added | Jessica Talzor |
Please share your code. I'm experiencing a related issue, instead I've discovered when I remove this line of code Craft::$app->getUrlManager()->getMatchedElement()['id'] in my custom module, my news.json is now visible and the issue is resolved.
|
|
Feb 28, 2019 at 19:23 | vote | accept | Udo | ||
Feb 27, 2019 at 11:38 | history | answered | Udo | CC BY-SA 4.0 |