createRecipient(recipient){
        const url = `${API_URL}/api/clients/`;
        //const url = `${API_URL}/clients/`;
        return axios.post(url,recipient).then(response => response.data);
    }
/**
     * This method creates a new recipient in the backend database.
     * @param {Object} recipient A JSON driver object used to create a new
     *                  recipient in the backend database.
     * @returns A JSON object of the recipient that has been created, or 
     *          an error message if the request fails.
     */
This method creates a new recipient in the backend database.
@param {Object} recipient A JSON driver object used to create a new
recipient in the backend database.
@returns A JSON object of the recipient that has been created, or
an error message if the request fails.
This method creates a new recipient in the backend database . @param { Object } recipient A JSON driver object used to create a new recipient in the backend database . @returns A JSON object of the recipient that has been created or an error message if the request fails .
createRecipient(recipient){
        const url = `${API_URL}/api/clients/`;
        return axios.post(url,recipient).then(response => response.data);
    }
createRecipient ( recipient ) { const url = ` ${ API_URL } ` ; return axios . post ( url , recipient ) . then ( response => response . data ) ; }
This method creates a new recipient in the backend database.
This method creates a new recipient in the backend database .
//const url = `${API_URL}/clients/`;