trealla icon indicating copy to clipboard operation
trealla copied to clipboard

http_get options

Open matteoredaelli opened this issue 1 year ago • 1 comments

Hello

Where can I find the list of the Options for http_get?

Thanks in advance Matteo

matteoredaelli avatar Feb 08 '24 18:02 matteoredaelli

A bit late to this, currently:

~/trealla (devel) $ tpl
?- use_module(library(http)).
   true.
?- http_get("http://192.168.1.1", Data, [status_code(Code),final_url(Location)]).
   Data = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\r\n        \"http://www.w3.org/TR/xhtml1", Code = 200, Location = "http://192.168.1.1".
?- 

infradig avatar Sep 18 '24 05:09 infradig