Changes in response to Peter's suggestions:

- Using showdata.php as the route
- Passing the router into ApiShow instead of the controller
- Moving to single route rather than 2
- Removing stray 'use Illuminate\Routing\UrlGenerator'