Creates a function that is a request function with a baked requestType. This is also nice because you get TypeScript type support using this function.
RequestType for request function
Function to call with arguments of request that performs the request and resolves with the response contents
Rest
Creates a function that is a request function with a baked requestType. This is also nice because you get TypeScript type support using this function.