Megatest

Artifact [57afe37838]
Login

Artifact 57afe378388102678fbac956a6000d8c981962e3:


(use regex http-client)

(print (with-input-from-request "http://localhost:8083/?foo=1" #f 
    (lambda ()
      (let ((match (string-search (regexp "<body>(.*)<.body>") (caddr (string-split (read-string) "\n")))))
	(cadr match)))))