small API on Laravel