diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2024-01-08 18:07:33 +0100 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2024-01-08 18:07:33 +0100 |
commit | 3e19e1b9a020b085f45056395d586bfdb7d51ecf (patch) | |
tree | 261ee815b78eb49f8e9a496c16ec7d7b7248f9e7 /guile/email-key-rotation/gandi.scm | |
parent | b3429f3909e54762bd6929f6bc01d6612beb7962 (diff) |
Make sure the gandi livedns API is accessed with POST or PUT0.0.6
Diffstat (limited to 'guile/email-key-rotation/gandi.scm')
-rw-r--r-- | guile/email-key-rotation/gandi.scm | 6 |
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 |