Automatizar APIs com script Groovy