Did you know ...
Search Documentation:
Predicate http_post/4
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
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)
).
[det]
http_post
(
+URL, +Data, -Reply, +Options
)
Issue an HTTP
POST
request.
Data
is posted using
http_post_data/3
. The HTTP server reply is returned in
Reply
, using the same rules as for
http_get/3
.
See also
Implemented on top of
http_get/3
.