mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-12 07:29:51 +00:00
12 lines
276 B
Go
12 lines
276 B
Go
package bunnysdk
|
|
|
|
import (
|
|
"fmt"
|
|
"net/http"
|
|
)
|
|
|
|
func (c *Client) AddCustomCertificate(req *AddCustomCertificateRequest) ([]byte, error) {
|
|
resp, err := c.sendRequest(http.MethodPost, fmt.Sprintf("/pullzone/%s/addCertificate", req.PullZoneId), req)
|
|
return resp.Body(), err
|
|
}
|