How to convert $resource service to angular 7 service using HttpClientModule?

I have the following code which defines the service using $resource as shown below.

services.factory('Tool', function($resource) {
    return $resource(
            '/NFRManagementTools/tool/:actionId/:toolId.json', {
                actionId : '',
                toolId : '@id'
            }, {
                showTool : {
                    method : 'GET',
                    params : {
                        actionId : 'showTool'
                    },
                    headers : {
                        'Content-Type' : 'application/json',
                        'Accept' : 'application/json'
                    }
                },
                //many more methods like the above
            });
});

I want to convert this to Angular 7 service using HttpClientModule. Can anyone please help me with this? Thanks in advance.

Source: AngularJS