http server test, and also unignore http client test

This commit is contained in:
Danil Platonov
2026-04-11 08:59:01 -07:00
parent 87f97c7e5c
commit 081f3c0827
3 changed files with 41 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
:- use_module(library(process)).
:- use_module(library(http/http_server)).
server :-
http_listen(8472, [get(/, hello)]).
hello(_Req, Res) :-
http_body(Res, text("Ok")).