more tests

This commit is contained in:
redanthrax 2022-06-22 19:19:26 -07:00
parent 2e095270f5
commit 234f524a0e
7 changed files with 161 additions and 4 deletions

View file

@ -36,6 +36,7 @@ func init() {
}
func PostPayload(payload interface{}, url string) error {
fmt.Println(restyC.BaseURL)
_, err := restyC.R().SetBody(payload).Post(url)
if err != nil {
return err