Added helper method for mapping HTTP methods to URL Fetch API