Does plugin-api support parameters? If so, how can I get tem?
So basically I want to try and have some routes have optional url parameters, I know how this works with express as you can use and get them like this:
But I would like to do something like this with my sapphire plugin-api routes, are they like the same and how do I use these? Do sapphire's plugin-api package not support this or do they?
Example below of what I intend to achieve:
4 Replies
Solution
Nevermind, it was as exactly as I thought it might have been!
It’s nearly as if we implemented the REST spec oh wait we did
We at least try to prevent https://youtu.be/nSKp2StlS6s
Dylan Beattie
YouTube
You Give REST a Bad Name
A parody of 'You Give Love a Bad Name' - about hypermedia APIs. No, really.
Sorry I've like only just discovered plugin-api T_T