#Dynamic API routes aren't working

5 messages · Page 1 of 1 (latest)

solar yacht
#

I keep getting this error upon trying to call this API
[Vue Router warn]: No match found for location with path "/api/blog/65bc3a8411e2951c95630dd3"

And the method and route being passed seem to be correct, but for some reason it still doesn't work. Directory structure is like so (second pic attached)

idle lake
#

does it only break for patch?

#

also, [id] and url_slug can't coexist. the names must be equal for now

solar yacht
#

It breaks for delete as well, and [id]/publish and [id]/unpublish too
Wait, let me try changing routes so that [id] and [url_slug] dont coexist like that

#

Thank you so much, it works!