From b323e2d543884ef446f4bf346a43ce41c4b54a3b Mon Sep 17 00:00:00 2001 From: Attila Magyar Date: Mon, 28 Jun 2021 12:34:36 +0200 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 0bdb5be..5d40d79 100644 --- a/README.md +++ b/README.md @@ -417,6 +417,25 @@ Quotations combined with the collection API offers some high level control struc ## HTTP +There is basic support getting an url or posting a form. + +```forth +http-get ( url -- response-body http-code ) +http-get ( map url -- response-body http-code ) +``` + +For example: + +```forth +'http://some.url' http-get + +#[ 'year' year + 'month' month + 'day' day + 'cost' 1234 ]# +'http://myhost.site/expense' http-post +``` + ## Examples ### Controlling a Daikin Air Conditioner