Fixed spelling error in sample code

In which $reqest becomes $request.