bookshop web service deleting book the delete book web service is very similar to the get book service in that it takes an isbn as url path parameter howeverin this case it merely returns an acknowledgement that the book was deleted successfully@app route('/book/'methods=['delete']def delete_book(isbn)bookshop delete_book(isbnreturn jsonify({'result'true}howeverwe can no longer test this just by using web browser this is because the web browser uses the http get request method for all urls entered into the url field howeverthe delete web service is associated with the http delete request method to invoke the delete_book(function we therefore need to ensure that the request that is sent uses the delete request method this can be done from client that can indicate the type of request method being used examples might include another python programa javascript web site etc for testing purposeswe will however use the curl program this program is available on most linux and mac systems and can be easily installedif it is not already availableon other operating systems the curl is command line tool and library that can be used to send and receive data over the internet it supports wide range of protocols and standards and in particular supports http and https protocols and can be used to send and receive data over http/ using different request methods for exampleto invoke the delete_book(function using the /book/ url and the http delete method we can use curl as followscurl this indicates that we want to invoke the url (and that we wish to use custom request method ( not the default getwhich is in the case delete (as indicated by the - optionthe result returned by the command is given below indicating that the book was successfully deleted "result"true we can verify this by checking the output from the /book/list url in the web browser