5.16 cURL Library - naver/lispe GitHub Wiki

lispe_curl

back

This library is used to query data from the internet.

It exposes the following methods:

(deflib curl () Create a 'curl' object)
(deflib curl_passwrd (crl user pswd) Username and password)
(deflib curl_url (crl str (filename)) Loading an URL)
(deflib curl_proxy (crl str) Setting a proxy)
(deflib curl_execute (crl (filename)) Execution with storage in a file)
(deflib curl_options (crl str data) Initialisation of an option)

Here is an example:

(use 'lispe_curl)

(setq c (curl))

(curl_url c "https://wiki.c2.com/?LispMacro")