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[semidet,multifile]http_convert_data(+In, +Fields, -Data, +Options)
Multi-file hook to convert a HTTP payload according to the Content-Type header. The default implementation deals with application/x-prolog. The HTTP framework provides implementations for JSON (library(http/http_json)), HTML/XML (library(http/http_sgml_plugin))