Currently http_read_json/2,3 and http_read_json_dict/2,3 does not allow for delete
as a valid HTTP method,
The documentation notes
domain_error(method, Method)
if the request method is not aPOST
,PUT
orPATCH
.
Can delete
be added for the predicate data_method/1?
For a 3rd party API where delete would be useful
EDIT May 19, 2023
May not need this if SWI-Prolog OpenAPI (Swagger) interface works.