Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http_get options #494

Open
matteoredaelli opened this issue Feb 8, 2024 · 1 comment
Open

http_get options #494

matteoredaelli opened this issue Feb 8, 2024 · 1 comment

Comments

@matteoredaelli
Copy link

Hello

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

Thanks in advance
Matteo

@infradig
Copy link
Contributor

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".
?- 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants