http sample on Groovy