Files
fnx_web/pixelapi/misc.go

14 lines
269 B
Go
Raw Normal View History

package pixelapi
type Recaptcha struct {
SiteKey string `json:"site_key"`
}
2018-07-09 21:41:17 +02:00
func (p *PixelAPI) GetRecaptcha() (resp *Recaptcha, err error) {
2018-06-23 21:17:53 +02:00
err = p.jsonRequest("GET", p.apiEndpoint+"/misc/recpatcha", resp)
if err != nil {
return nil, err
}
return resp, nil
}