aboutsummaryrefslogtreecommitdiff
path: root/certificate.go
diff options
context:
space:
mode:
Diffstat (limited to 'certificate.go')
-rw-r--r--certificate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/certificate.go b/certificate.go
index f9bec45..992acb7 100644
--- a/certificate.go
+++ b/certificate.go
@@ -33,7 +33,7 @@ func (p *Provider) RequestCert(csr string) ([]byte, string, error) {
Resource: ResNewCert,
CSR: csr,
}
- resp, err := p.post(p.NewCert, req)
+ resp, err := p.postJson(p.NewCert, req)
if err != nil {
return nil, "", err
}