Add the possibility to perform a put request to delete a domain.
Add comments on the new function.
Create a function to write in the console the answer to the request to make the code shorter.