AstonJ
(AstonJ)
March 15, 2020, 4:52pm
1
Should these work? I thought you could add .json to the end of any URL?
https://meta.discourse.org/u.json
{“errors”:[“The requested URL or resource could not be found.”],“error_type”:“not_found”}
https://meta.discourse.org/u?period=monthly.json
Access Denied
while trying to load /directory_items?period=monthly.json&order=likes_received
Something went wrong.
Canapin
(Coin-coin le Canapin)
March 15, 2020, 5:01pm
3
Those are not valid URLs at all, you must add the extension to a valid working URL.
AstonJ
(AstonJ)
March 15, 2020, 5:38pm
5
That’s not working either
What is the valid URL? The one in @Canapin ’s post/API Docs does not work either..
Sometimes the plain text routes have to be opened in a new tab to work because of Ember routing. Maybe that’s what you are running into? Try copying and pasting the URL into the address bar of your browser.
AstonJ
(AstonJ)
March 15, 2020, 6:57pm
8
Ah that was it - pasting the URL into a new tab and it works
Thanks both!