From 20a6598147a3cba39edf3a5c63ba059814fa5aab Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 29 Sep 2023 12:13:38 +0200 Subject: requests: Parse the result according to content-type --- neocities/api.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'neocities/api.scm') diff --git a/neocities/api.scm b/neocities/api.scm index fe68ce2..5e3d2d0 100644 --- a/neocities/api.scm +++ b/neocities/api.scm @@ -116,8 +116,8 @@ #:hostname (neocities-api-hostname api)))) (let-values (((boundary body) (encode-multipart-body files))) (neocities-request - 'POST - url - #:content-type (string-append "multipart/form-data; boundary=" boundary) - #:body body - #:auth (encode-auth (neocities-api-auth api)))))) + 'POST + url + #:content-type (string-append "multipart/form-data; boundary=" boundary) + #:body body + #:auth (encode-auth (neocities-api-auth api)))))) -- cgit v1.2.3