Added a getRequest method to handle async operations.
Converted get_request to simplified CJS.