2.2 library(http/http_client): HTTP client library
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog HTTP support
        • The HTTP client libraries
          • library(http/http_client): HTTP client library
            • http_get/3
            • http_delete/3
            • http_post/4
            • http_put/4
            • http_patch/4
            • http_read_data/3
            • http_convert_data/4
            • http_disconnect/1
            • post_data_hook/3
Availability::- use_module(library(http/http_client)).
Source[det]http_delete(+URL, -Data, +Options)
Execute a DELETE method on the server. Arguments are the same as for http_get/3. Typically one should pass the option status_code(-Code) to assess and evaluate the returned status code. Without, codes other than 200 are interpreted as an error.
See also
Implemented on top of http_get/3.
To be done
Properly map the 201, 202 and 204 replies.