AstonJ
(AstonJ)
15 maart 2020 om 16:52
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)
15 maart 2020 om 17:01
3
Those are not valid URLs at all, you must add the extension to a valid working URL.
AstonJ
(AstonJ)
15 maart 2020 om 17:38
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)
15 maart 2020 om 18:57
8
Ah that was it - pasting the URL into a new tab and it works
Thanks both!