If you're not using FancyMain, this is the go-to function to do most the work.
instantiation should be an object of your ApiProvider type.
pathInfoStartingPoint is used to make a slice of it, incase you already consumed part of the path info before you called this.
If you're not using FancyMain, this is the go-to function to do most the work. instantiation should be an object of your ApiProvider type. pathInfoStartingPoint is used to make a slice of it, incase you already consumed part of the path info before you called this.