Is it just me or is all of the documentation either out of date or not accurate? For instance, yet another hurdle with this software is getting a basic API query to work. Here’s the docs I’m referring to and the query that returns a 500 error: http://localhost:4200/categories.json. The GET request in the docs shows this query as an example. Any thoughts on how to stop running into hurdles like every time I turn around? If people are going to use this in a production environment, we’re going to need a better way to get familiar with the software other than duck-duck-goosing through repos and pseudo-docs.
This works: https://meta.discourse.org/categories.json
What error do you see in the logs? Does your site work in a browser? If GETting /categories.json` doesn’t work then something’s wrong with your development environment, I’d guess.
We’ll need more info about what errors you see in the terminal and how you installed.
What are you trying to do?
2 Likes
Not trying to do anything special just call the API as it’s written in the docs via postman.
1 Like
Can you load the page in your browser?
My guess is that it’s a problem with postman
1 Like