summaryrefslogtreecommitdiff
path: root/guile/email-key-rotation/gandi.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guile/email-key-rotation/gandi.scm')
-rw-r--r--guile/email-key-rotation/gandi.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/guile/email-key-rotation/gandi.scm b/guile/email-key-rotation/gandi.scm
index 2f89785..ae9cc84 100644
--- a/guile/email-key-rotation/gandi.scm
+++ b/guile/email-key-rotation/gandi.scm
@@ -27,6 +27,7 @@
domain
path-under-domain
#:key
+ (method 'GET)
(headers '())
(body #f)
(http-request http-request))
@@ -66,7 +67,10 @@
`((Authorization
. ,(string-append "ApiKey " (api-key configuration)))
,@headers)))
- (http-request uri #:headers headers #:body body)))))
+ (http-request uri
+ #:method method
+ #:headers headers
+ #:body body)))))
(define (sxml->configuration sxml)
(with-exception-handler