This hack is necessary because SWI Prolog doesn't seem to have a good MD5 implementation. Run `md5sum $secret_key` at a command prompt to get the value you need.
document/some_document_id
). For example,
?- request(get, status, R). R = _{api_version:"3.5", ...} .
For a POST request, make Method=post(Dict)
. The Dict is converted
into a JSON object and included as the request body.