Simple webservice in Laravel for school assignment