Added options parameter to the request method