groovy rest api post example