Better HN
topnewbestaskshowjobs
Log inSign up

jupiterrr88

1 karma · joined Mar 20, 2016 (10y ago) · 1 submissions

Submissions

comment 10y ago · link · parent

Using lisp with drakma, the following function save under name some content.

* (defun save(name content) (multiple-value-bind (a b c) (http-request (format nil "https://transfer.sh/~a" name) :method :put :content (write-to-string content)) (list a b c)))