AstonJ
(AstonJ)
2020 年3 月 15 日 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.
1 个赞
Canapin
(Coin-coin le Canapin)
2020 年3 月 15 日 17:01
3
Those are not valid URLs at all, you must add the extension to a valid working URL.
1 个赞
AstonJ
(AstonJ)
2020 年3 月 15 日 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.
4 个赞
AstonJ
(AstonJ)
2020 年3 月 15 日 18:57
8
Ah that was it - pasting the URL into a new tab and it works
Thanks both!
2 个赞
system
(system)
关闭
2020 年4 月 14 日 18:57
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.