client.go
func (c *Client) Request(req *Request) (*Response, error) {
	buf := bytes.NewBuffer(nil)
	err := json.NewEncoder(buf).Encode(req)
	if err != nil {
		return nil, err
	}
	reqResp := &Response{}
	resp, err := c.caller.Call("POST", c.endpoint+"/opengdpr_requests", buf)
	return reqResp, c.json(resp, err, true, reqResp)
}
func (c *Client) Request(req *Request) (*Response, error) {
	buf := bytes.NewBuffer(nil)
	err := json.NewEncoder(buf).Encode(req)
	if err != nil {
		return nil, err
	}
	reqResp := &Response{}
	resp, err := c.caller.Call("POST", c.endpoint+"/opengdpr_requests", buf)
	return reqResp, c.json(resp, err, true, reqResp)
}
func ( c * Client ) Request ( req * Request ) ( * Response , error ) { buf := bytes . NewBuffer ( nil ) err := json . NewEncoder ( buf ) . Encode ( req ) if err != nil { return nil , err } reqResp := & Response { } resp , err := c . caller . Call ( " " , c . endpoint + " " , buf ) return reqResp , c . json ( resp , err , true , reqResp ) }
// Request makes a performs a new GDPR request.
Request makes a performs a new GDPR request .