Changed routes to /api/get, etc.