Open npdoty opened 6 years ago
That latter issue I've opened as #90. That might just be me not understanding how you want this system to work, but it could also make this easier to fix if there aren't two separate URI systems in parallel.
viewPost is out of date :) i haven't updated any of the templates while i've been doing a bunch of restructuring data stuff (eg adding @-prefixes to ids)
Created posts have an
@id
like:"@id" : "http://api.smilodon.localhost:5000/test/posts/0"
, but theviewPost
route queries for a post with@id
at the request'surl_root
, which isn't typically the same. So, when I try to load a particular post in the web browser, the server throws an error like:Whether there need to be separate URIs for the API and the server at all is also unclear to me, but probably a separate issue.