Fixed missing $id parameters in api/index.php
Merge pull request #71 from phpmentoring/api-index-fixes

Fixed missing $id parameters in api/index.php