Description
I noticed that in the boring-stack, the sails blueprint API is activated, and it works. Though it fetches the data of the page as HTML, not JSON.
I want to be sure if the blueprints API in any way aids inertia, or if it poses no flaw.
I am also pointing it out because the page I am able to fetch with the blueprints API is an authenticated page.
Current behavior
When I run localhost:1337/api/articles
, I get my response as JSON on Postman. (can be accessed, not authenticated route)
However, when I run localhost:1337/articles
I get my response as HTML on Postman. (should not be access, authenticated route)
Expected behavior
If it is possible for localhost:1337/articles
to not be accessible since it is a page, it might be authenticated.
Feel free to ask more questions. @DominusKelvin
...
Replace space in square bracket with x
e.g [x]
[x] I have checked and this issue does not exist