Adição da função

master
Leonardo Domingues 2021-11-05 18:09:09 -03:00
parent 6ef42d1ccb
commit f8acbf0c03
1 changed files with 15 additions and 0 deletions

View File

@ -43,3 +43,18 @@ func NewCli(apikey string) *Cli {
ret.Httpcli.SetBasePath("https://dataapi.digitalcircle.com.br")
return ret
}
func LCR_Create() {
c := NewCli("RnJpIDA1IE5vdiAyMDIxIDExOjE1OjIyIEFNIFVUQwo")
_, err := c.Do(&DataAPIRequest{
Col: "LCR_Bot",
Op: CREATE,
Data: map[string]interface{}{
"Registro": "1",
},
})
if err != nil {
panic(err)
}
}